Search code examples
linuxasynchronousepollaio

How do you use AIO and epoll together in a single event loop?


How can you combine AIO and epoll together in a single event loop?

Google finds lots of talk from 2002 and 2003 about unifying them, but its unclear if anything happened, or if it's possible.

Has anyone rolled-their-own with an epoll loop using eventfd for the aio signal?


Solution

  • try libevent:

    http://www.monkey.org/~provos/libevent/

    there are patches to support both.