while(true) { ev_run(loop, EVRUN_NOWAIT); } much faster than ev_run(loop);

Hayk Martirosyan hayk at stanford.edu
Tue Jan 20 02:33:10 CET 2015

I'm using libev in a high-performance application, and I've noticed against
my expectation that looping ev_run with EVRUN_NOWAIT handles events 5x
faster than calling ev_run without the loop. Is this expected behavior?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20150119/a65bc362/attachment.html>

More information about the libev mailing list