Changes:
0.8:
* Buffered event abstraction to make writing network applications
easier; see libio for the predecessor of this idea.
0.7c:
* Bug fixes in Linux epoll and poll support.
0.7b:
* 3-clause BSD-license.
* Experimental support for real-time signals. Likely to be buggy.
* Experimental support for Windows from Mike Davis.
0.7:
* Requires level-triggered epoll patch for Linux epoll support.
as PREFER_PKGSRC. Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.
BUILDLINK_PREFER_PKGSRC
This variable determines whether or not to prefer the pkgsrc
versions of software that is also present in the base system.
This variable is multi-state:
defined, or "yes" always prefer the pkgsrc versions
not defined, or "no" only use the pkgsrc versions if
needed by dependency requirements
This can also take a list of packages for which to prefer the
pkgsrc-installed software. The package names may be found by
consulting the value added to BUILDLINK_PACKAGES in the
buildlink[23].mk files for that package.
The libevent API provides a mechanism to execute a callback function when a
specific event occurs on a file descriptor or after a timeout has been
reached.
libevent is meant to replace the asynchronous event loop found in event
driven network servers. An application just needs to call event_dispatch()
and can then add or remove events dynamically without having to change the
event loop.
Currently, libevent supports kqueue(2) and select(2). Support for poll(2)
and /dev/poll is planned. The internal event mechanism is completely
independent of the exposed event API, and a simple update of libevent can
provide this new functionality without having to redesign the server
applications.