论坛首页 编程语言技术论坛

我要改用libev?

浏览 2709 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-12-04  
C
libev http://software.schmorp.de/pkg/libev.html

A full-featured and high-performance (see benchmark) event loop that is loosely modelled after libevent, but without its limitations and bugs. It is used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode packages, and in the Deliantra MORPG Server and Client.

Blurb

Features include child/pid watchers, periodic timers based on wallclock (absolute) time (in addition to timers using relative timeouts), as well as epoll/kqueue/event ports/inotify (for file watchers) support, fast timer management, time jump detection and correction, and ease-of-use.

It can be used as a libevent replacement using its emulation API or directly embedded into your programs without the need for complex configuration support. A full-featured and well-documented perl interface is also available.


lighty20开始采用了,高性能网络服务器能快一点算一点,我特别看重的一个特性是能够纠正挂钟时间的变化,特性也比libevent多很多。
   发表时间:2008-12-05  
这个不错,比ACE简单多了
0 请登录后投票
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics