libevent

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. 1 Download http://monkey.org/~provos/libevent/ 2 Installation tar xvf libevent-2.0.7-rc.tar.gz cd libevent-2.0.7-rc ./configure --enable-shared make sudo make install 3 Configuration Open file /etc/ld.so.conf and add a line /usr/local/lib sudo ldconfig

你可能感兴趣的:(libevent)