Dong Fang <yp.fangdong@gmail.com> Martin Sustrik <sustrik@250bpm.com>
xpoll - I/O event notification facility for xio socket
#include <xio/poll.h>
xpoll is a variant of epoll(2) that scales well to large numbers of watched xsocket descriptors. The following xio calls are provided to create and manage an xpoll instance:
An xpoll instance created by xpoll_create[3], which returns a file descriptor referring to the xpoll instance.
Interest in particular xsocket file descriptors is then registered via xpoll_ctl(). The set of xsocket file descriptors currently registered on an xpoll instance is sometimes called an xpoll set.
Finally, the actual wait is started by xpoll_wait().
Following APIs are exported by xio poll:
Dong Fang <yp.fangdong@gmail.com> Martin Sustrik <sustrik@250bpm.com>