摘要: 1. libevent 在 memcached 中 libevent 被用来处理网络事件(连接请求,读和写) 或者被用来实现定时器。使用 libevent 需要包含头文件 event.h, 并且在 GCC 链接时需要使用选项 -levent 相关函数的函数原型:/* before usin... 阅读全文
posted @ 2015-09-11 17:34 william-cheung 阅读(1250) 评论(0) 推荐(0) 编辑