search for: vnf_worker_proc

Displaying 2 results from an estimated 2 matches for "vnf_worker_proc".

2020 Apr 07
0
why virConnectDomainEventRegisterAny can't alway trigger the callback ,how can i get a stable callback ?
........... do someing; if(0 == virConnectDomainEventDeregisterAny(conn, arg->call_id)) printf("succ to deRegister, conn:%p, call id:%d\n", conn, arg->call_id); else printf("fail to deRegister, conn:%p, call id:%d\n", conn, arg->call_id) } void* vnf_worker_proc(void *arg) { vnf_mission_t *mission = NULL; pthread_t tid = pthread_self(); vnf_task_ctx_t *task = vnf_task_get_task_info(tid); assert(task); pthread_detach(tid); while (1) { mission = vnf_mission_queue_get(task); if (mission == NULL) { s...
2020 Apr 07
0
when virEventAddTimeout trigger timeout ,should in the callback call virConnectDomainEventDeregisterAny ?
...e in vnf_control_del_network_timeout_cb (timer=<optimized out>, opaque=0x7f29e9e99de0) at vnf_mgt/vnf_control.c:1293 #11 0x00007f2a070d20e9 in virEventPollRunOnce () from /lib64/libvirt.so.0 #12 0x00007f2a070d0a42 in virEventRunDefaultImpl () from /lib64/libvirt.so.0 #13 0x000000000040d099 in vnf_worker_proc (arg=<optimized out>) at vnf_mgt/vnf_control.c:1727 #14 0x00007f2a07611e25 in start_thread () from /lib64/libpthread.so.0 #15 0x00007f2a0652fbad in clone () from /lib64/libc.so.6 (gdb) f 10 #10 0x0000000000405bce in vnf_control_del_network_timeout_cb (timer=<optimized out>, opaque=0x7f2...