Is that ev_run()/ev_loop() inhibited in multiple thread of current libev?

Jonathan Neuschäfer j.neuschaefer at gmx.net
Thu Dec 22 11:52:53 CET 2011


On Thu, Dec 22, 2011 at 01:58:52AM +0800, freebsdj wrote:
> is modified in another assertion:
>         assert ((loop_done = EVUNLOOP_RECURSE, 1)); /* assert for side
[...]
> 2. Why check the loop->loop_done there?

loop->loop_done is not checked, but, as you said, modified. I think this
is done to check it in the assert you hit ("libev: ev_loop recursion
during release detected").

Thanks,
	Jonathan Neuschäfer



More information about the libev mailing list