thiell/test — Issue #69: Add epoll based Engine
Author: thiell
Created: 2012-03-03 16:32:28+00:00
State: open
Labels: Lib/Engine

Add new engine implementation for use with Fedora 11: '''!ClusterShell.Engine.EPoll''', based on [http://docs.python.org/library/select.html?highlight=epoll#select.epoll select.epoll()] (new in Python 2.6).

Linux 2.6 offers the epoll facility (I/O event notification facility):

From http://linux.die.net/man/4/epoll:
{{{
epoll is a variant of poll(2) that can be used either as Edge
or Level Triggered interface and scales well to large numbers of
watched fds. Three system calls are provided to set up and control
an epoll set: epoll_create(2), epoll_ctl(2), epoll_wait(2).
}}}