Neverlord/libcppa — pull request #77 by ArtemGr (2012-10-02 00:52:41+00:00)
Title: Use epoll on Linux (epoll entries reused; O(log n))

Here's the epoll patch.
Note that it avoids the linear channels scanning in the event handling section by using map(fd)->function.
The patch seems to work (have seen a bit of testing in production environment).