Overview

libevent is a cross platform library that abstracts out the different notification APIs (specifically, /dev/poll, kqueue(2), event ports, select(2), poll(2) and epoll(4)). It also supports triggering events due to timeouts or signals.

Case Studies

Gotchas

  • Your struct event objects need to remain valid after you've added them, so be careful about putting them on the stack.
  • According to the libev developers, timer support in libevent is not as efficient as libev. See these benchmarks, and this list of other differences.

Tips & Tricks

Alternatives

Other Resources

 
libevent.txt · Last modified: 2008/07/10 18:09 by 72.86.22.138
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki