On Tue, Aug 27, 2013 at 04:55:51PM -0700, Alex Wang wrote:
> > or we could devise a way to have poll_block() or coverage_run() figure out
> > which thread is the "main thread".
> 
> I could remember the thread id of the daemons that need to run it. Could
> you share some more thoughts on this direction?

One way would be to use ovsthread_id_self().  This is always 0 in the
initial thread of a program.  (That is not currently documented, so we
would want to document it before relying on it.)
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to