/dev/poll, kqueue(2), event ports, POSIX select(2), Windows select(), poll(2), and epoll(4)

/dev/pollkqueue(2)event portsPOSIX select(2)Windows select()poll(2), and epoll(4)

libevent http://libevent.org/

Currently, libevent supports /dev/pollkqueue(2)event portsPOSIX select(2)Windows select()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, either by isolating each event_base so that only a single thread accesses it, or by locked access to a single shared event_base. Libevent should compile on Linux, *BSD, Mac OS X, Solaris, Windows, and more.

原文地址:https://www.cnblogs.com/rsapaper/p/9933337.html