Dan Kegel wrote: > In that situation, why not just add the fd to an epoll, and have the > epoll deliver events through Ben's interface? Because you might need to use the aio_data facility of the iocb interface. Because you might want to keep the kernel from simultaneously delivering two events for the same fd to two different threads.