xxx_poll callbacks and multiple event loops

Paddy Byers paddy.byers at
Tue Nov 8 19:39:46 CET 2011


I think my proposal is far simpler, and doesn't run the risk of breaking
> the logic inside libeio (such as request/thread counting, stuff such as
> matime/maxreqs and so on). It's possible that it happens to work, but I
> don't
> really want to think through all cases.
> If node.js really wants to go head-through-wall, then I think having the
> extra thread sending requests to event loops is far simplar and safer.

Thanks for your considered response. I will have a look at your proposal. I
wanted to avoid the extra thread context-switch but I guess the next step
is to measure what that impact is, and have a think about the best way

Thanks - Paddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list