Feature request: ability to use libeio with multiple event loops

Hongli Lai hongli at phusion.nl
Tue Dec 20 14:34:52 CET 2011


I'm writing a multithreaded evented server in which I have N threads
(N=number of CPU cores) and one libev event loop per thread. I want to
use libeio but it looks like libeio depends on global variables so
this isn't going to work. I'd like to request the ability to use
libeio with multiple event loops. This probably involves changing the
API so that each libeio function accepts a context object.

- Hongli
-- 
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: info at phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)



More information about the libev mailing list