Davide Libenzi wrote: >There're many ways to have /dev/epoll working in a threaded environment if >you think about it, and no you don't need to have a single thread fetching >events. You can have, if you really like threads, N fetching threads ( >working on N private /dev/epoll fds ), feeding M queues > In such models, you still have to pay the cost of divvying up the events after you receive them. You also have to worry about keeping load distributed evenly enough.