Event Notification Library
By admin on Oct 16, 2008 in C/C++, open source
libevent is an event notification library. It 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 should compile on Linux, *BSD, Mac OS X, Solaris and Windows.
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.
Popularity: 2% [?]

LeticiaWation | Nov 26, 2009 | Reply
Thats cool. I agree, that was a good post!
Premature Ejaculation Pills
Click here to get Free Premature Ejaculation Medicine
传奇私服 | Oct 4, 2010 | Reply
英雄合击
传奇sf
I always enjoy reading quality articles by an individual who is obviously up to snuff on their chosen subject.
传奇世界私服 | Nov 21, 2010 | Reply
here is no royal road to learning.
传世私服
奇迹私服
Tenesha Emrick | Oct 14, 2011 | Reply
I think this is among the most important information for me. And i’m glad reading your article. However should commentary on few normal things, The site taste is perfect, the articles is actually excellent : D. Good job, cheers