#include <poller_devpoll.h>
Public Methods | |
poller_devpoll () | |
~poller_devpoll () | |
void | add (int fd, short events, callback *cb) |
Implementation of basic_poller::add. | |
void | remove (int fd, short interest) |
Implementation of basic_poller::remove. | |
int | poll (int timeout) |
Implementation of basic_poller::poll. |
Definition at line 44 of file poller_devpoll.h.
|
Opens the /dev/poll driver. Throws fpoller::exception if the open fails. Definition at line 41 of file poller_devpoll.cc. |
|
Closes the /dev/poll driver. Definition at line 50 of file poller_devpoll.cc. |