event library is a simple C-language library (module) implementing a single threading core that allows a process to wait for multiple I/O and/or timer events. The module should work on a reasonable *nix system and uses several "advanced" event monitoring mechanism (like Linux epoll, FreeBSD kqueue and Solaris /dev/poll) as well as traditional poll() and select() mechanisms, whichever are available on a given platform. The library is somewhat similar to several others, like
There is no fancy installation procedure (yet), the module consists of 3 files - event.h (header file to use when compiling other programs), event.c - main source code, and event.3 the manual page describes module functionality in great details. The manpage is also available in html format.
The module is ready to use autoconf-style macros during compilation. The following preprocessor directives are recognized:
In order to compile the event.o module, specify one or several symbols above (as appropriate for your system; or use autoconf tests) on command line, that's basically all.
event module is a free software, it may be used and distributed in terms of LGPL version 2 or later.
Download it right here.
Return to my software page.