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
Libevent安装与配置指南
最新推荐文章于 2025-08-09 03:53:44 发布
721

被折叠的 条评论
为什么被折叠?



