TOC  Previous  Next

The epoll API

How

Central feature of API is the epoll file descriptor (epollfd), the userspace handle to kernel data structures.

Two kernel data structures are associated with an epollfd:

When an I/O event occurs that changes the "readiness" of a file descriptor in interest list, the kernel adds that file descriptor to ready list.


(C) 2006, Michael Kerrisk