Stella981 Stella981
2年前
Libevent学习笔记(四) bufferevent 的 concepts and basics
BuffereventsandevbuffersEverybuffereventhasaninputbufferandanoutputbuffer.Theseareoftype"structevbuffer".Whenyouhavedatatowriteonabufferevent,youa
Stella981 Stella981
2年前
Linux C编程之十九(1) libevent基本概念
一、libevent是干什么的  1.开源的库,提高开发效率封装了socket通信封装了IO多路转接  2.精简,专注于网络,性能高   3.事件驱动二、libevent库的安装  1.官方网站:http://libevent.org  2.源码包下载:
Wesley13 Wesley13
2年前
vc编译libevent
  假设VisualStudio2005的安装路径为“D:\\ProgramFiles\\MicrosoftVisualStudio8\\”,Libevent(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmonkey.org%2F%7Eprovos%2Flibevent
Stella981 Stella981
2年前
Redis 事件机制详解
点击上方"程序员历小冰",选择“置顶或者星标”你的关注意义重大!Redis采用事件驱动机制来处理大量的网络IO。它并没有使用libevent或者libev这样的成熟开源方案,而是自己实现一个非常简洁的事件驱动库ae\_event。Redis中的事件驱动库只关注网络IO,以及定时器。该事件库处理下面两类事件:文件事