libevent

A mechanism to execute a callback function when a specific event occurs on a file descriptor.
Download

libevent Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Niels Provos
  • Publisher web site:
  • http://monkey.org/~provos/scanssh/

libevent Tags


libevent Description

A mechanism to execute a callback function when a specific event occurs on a file descriptor. libevent library provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.It is meant to replace the asynchronous event loop found in event-driven network servers.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), select(2), poll(2) and epoll(4). It also has experimental support for real-time signals. 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.More information about event notification mechanisms for network servers can be found on Dan Kegel's "The C10K problem" web page. Another library that abstracts asynchronous event notification is liboop. What's New in This Release: · clean up buffered http connection data on reset; reported by Brian O'Kelley · bug fix and potential race condition in signal handling; from Alexander Drozdov · rename the Solaris event ports backend to evport · support compilation on Haiku · fix signal processing when a signal callback delivers a signal; from Alexander Drozdov · const-ify some arguments to evdns functions. · off-by-one error in epoll_recalc; reported by Victor Goya · include Doxyfile in tar ball; from Jeff Garzik · correctly parse queries with encoded , · or + characters


libevent Related Software