need dependency on bash for REPLACE_BASH to work properly.
[pkgsrcv2.git] / devel / libevent / DESCR
1 The libevent API provides a mechanism to execute a callback function when a
2 specific event occurs on a file descriptor or after a timeout has been
3 reached.
4
5 libevent is meant to replace the asynchronous event loop found in event
6 driven network servers. An application just needs to call event_dispatch()
7 and can then add or remove events dynamically without having to change the
8 event loop.
9
10 Currently, libevent supports kqueue(2) and select(2). Support for poll(2)
11 and /dev/poll is planned. The internal event mechanism is completely
12 independent of the exposed event API, and a simple update of libevent can
13 provide this new functionality without having to redesign the server
14 applications.