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.
libevent is meant to replace the event loop found in event driven network
servers. An application just needs to call event_dispatch() and then add or
remove events dynamically without having to change the event loop.
官网
http://libevent.org/
Fast portable non-blocking network programming with Libevent
http://www.wangafu.net/~nickm/libevent-book/
epoll学习笔记
http://www.cppblog.com/converse/archive/2008/04/29/48482.aspx
libevent事件处理框架分析
http://www.cppblog.com/converse/archive/2009/01/03/71040.aspx
libevent入门教程:Echo Server based on libevent
http://www.felix021.com/blog/read.php?2068
libevent源码深度剖析
http://blog.youkuaiyun.com/sparkliang/article/category/660506
libevent源码分析
How to use epoll? A complete example in C
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.
libevent is meant to replace the event loop found in event driven network
servers. An application just needs to call event_dispatch() and then add or
remove events dynamically without having to change the event loop.
官网
http://libevent.org/
Fast portable non-blocking network programming with Libevent
http://www.wangafu.net/~nickm/libevent-book/
epoll学习笔记
http://www.cppblog.com/converse/archive/2008/04/29/48482.aspx
libevent事件处理框架分析
http://www.cppblog.com/converse/archive/2009/01/03/71040.aspx
libevent入门教程:Echo Server based on libevent
http://www.felix021.com/blog/read.php?2068
libevent源码深度剖析
http://blog.youkuaiyun.com/sparkliang/article/category/660506
libevent源码分析
How to use epoll? A complete example in C
https://banu.com/blog/2/how-to-use-epoll-a-complete-example-in-c/
|
相关文章:
|
本文介绍了libevent库的应用场景及核心特性,包括如何使用libevent进行非阻塞式的网络编程,以及如何通过回调机制来处理文件描述符上的特定事件。此外还提供了libevent的官方资源和技术文档链接。
1703

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



