libevent For Mac Publisher's description
from Niels Provos
Free and open source event notification library for your Mac
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. Furthermore, libevent also support callbacks due to signals or regular timeouts.
libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop.
Currently, libevent supports /dev/poll, kqueue(2), event ports, select(2), poll(2) and epoll(4). The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide new functionality without having to redesign the applications.
As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system. Libevent can also be used for multi-threaded applications.
Libevent is a cross-platform library and should compile on Mac OS X, Linux, BSD, Solaris and Windows.
What's New in This Release:В· Avoid a spurious close(-1) on Linux (70a44b6)
В· Do not close(-1) when freeing an uninitialized socket bufferevent (b34abf3)
В· Free evdns_base->req_heads on evdns_base_free (859af67)
В· Avoid an (untriggerable so far) crash bug in bufferevent_free() (0cf1431)
В· Set mem_offset for every bufferevent type (657d1b6)
В· Fix infrequent memory leak in bufferevent_init_common(). (8398641 Jardel Weyrich)
В· Make evutil_signal_active() match declaration. (e1e703d Patrick Galbraith)
В· Fix minheap code to use replacement malloc functions (a527618)
В· Fix a free(NULL) in minheap-internal.h (6f20492)
В· Fix critical bug in evbuffer_write when writev is not available (cda56ab)
В· Make the no_iovecs case of write_atmost compile (8e227b0)
В· Fix a memory leak when appending/prepending to a buffer with unused space. (45068a3)
В· Clean up a mistake in pointer manipulation in evbuffer_remove (28bfed4 Christopher Davis)
В· Always round up when there's a fractional number of msecs. (8f9e60c Christopher Davis)
System Requirements:No special requirements.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall