Hi everyone,
I'm looking for help on OVS implementation.

So basically, I have a data structure in module "connmgr.c" that will be
updated everytime certain packets is sent to controller via function
conmgr_send_async_msg(). I want to add one new detached thread in this
module to clear the data structure after some time periodically.

I have tried using ovs_thread_create() and pthread_detach(pthread_self())
to create a detached thread in function conmgr_send_async_msg(). I managed
to build without error, however the result is OVS hangs indefinitely when
starting up a bridge and there is possibly a core dumped.

I think spawning a new thread in OVS is carefully designed but I just can't
find any materials to do this.

- Thanks in advance -
- Harry
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to