← Graph

epoll

concept 2 connections

Linux kernel facility that splits select into two calls — one to register sockets and one to wait — avoiding the per-call copy of all descriptors. Supports EPOLLONESHOT, which removes a socket from the interest set after it becomes ready. David Halasz wrote a custom C extension because none of the five or six existing Ruby wrappers handled EPOLLONESHOT correctly.

category
architecture
platform
Linux
about
epoll concept
Ports the bouncing technique to epoll with EPOLLONESHOT
About the EPOLLONESHOT flag

Provenance

Read by
4 extractions