libevent – an event notification library

The libevent API (libevent应用程序)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.

Currently, libevent supports /dev/pollkqueue(2)event ports, POSIX select(2), Windows select()poll(2), and epoll(4). The internal event mechanism(内部的事件机制) is completely independent of the exposed(暴露的) event API, and a simple update of libevent can provide new functionality(功能) without having to redesign(重新设计) the applications. As a result, Libevent allows for(允许) portable application(绿色软件) development and provides the most scalable(可扩展的) event notification mechanism available on an operating system. Libevent can also be used for被用于 multi-threaded多线程 applications, either(也) by(通过) isolating(隔离) each event_base(事件库) so that(以便于) only a single thread accesses(访问) it, or by locked(锁定) access to a single shared event_base.Libevent should compile(编译) on Linux, *BSD, Mac OS X, Solaris, Windows, and more.

Libevent additionally(附带的地;此外) provides a sophisticated(复杂的) framework(框架) for buffered(缓冲的) network IO, with support for sockets(套接口), filters(过滤器), rate-limiting(限速), SSL(安全套接层), zero-copy file transmission(零拷贝文件传输), and IOCP输入输出应用程序. Libevent includes support for several useful protocols(协议), including DNS, HTTP, and a minimal(最低地) RPC(远程过程调用) framework(框架).

More information about event notification mechanisms for network servers can be found on(基于) Dan Kegel's "The C10K problem" web page.

A mailing list for libevent (libevent邮件列表)is now available. Libevent is maintained(维持) by Nick Mathewson and Niels Provos.

转载于:https://www.cnblogs.com/jasonxu19900827/p/5104787.html

看libevent所遇到的英语生词相关推荐

  1. html+css+javascript 开发英语生词本

    1 摘要 本设计是基于艾宾浩斯遗忘曲线理论实现的一款小巧.针对性强,能随时随地.反复记忆英语单词的app.对于丰富英语词汇学习模式的研究,克服英语学习者记忆障碍方面具有一定的理论和实践价值.本设计以提 ...

  2. 如何通过看美剧来提高英语水平(转)

    没想到这篇日志会这么火,看到很多童鞋讨论有关美剧学习英语到底有没有用,以及用哪部美剧练习,我在这里想说这只是一个参考,世界上没有绝对的事情,究竟有没有用看个人,想必在校内上至少是高中生,大部分是大学生 ...

  3. 利用aboboo,轻听app等软件以及通过看美剧方式学习英语

    1.1集美剧看1-2遍视频,之后可以导出音频以及lrc文件. 2.用aboboo的软件将音频分成自己需要的大小,比如:每份大概20-30句这样.导出音频以及对应lrc. 3.将音频和lrc放到轻听ap ...

  4. 英语生词 金山词霸导出

    1. recall [rɪ'kɔ:l] vt.叫回,召回:使想起,回想:取消:调回工厂 n.召回,唤回:记忆力,回想:罢免:收回通告2. 回复 [huí fù] reply :answer :refl ...

  5. 计算几何题中的英语生词

    1.geometry : 几何 2.segment:线段 3.intersection: 交点

  6. 数据结构和算法分析英语生词整理

    ***********九章算法第二章:二分法和lgn算法 二分法(binary search)  时间复杂度 Time Complexity  递归 Recursion ***********九章算法 ...

  7. 看牙医要懂的英语词汇

    Prophylaxis 洗牙 (usually just say prophy) deep clean 龈下刮治 (deeper than prophy, sometimes need 局麻) loc ...

  8. 三三速记英语 需要者看

    1.综合九种记法,不怕任何单词 特 注 : 无论任何单词,不管是词根词缀法还是奇特联想法,如果你在其它地方找不到某个难词的记忆窍门,你都可以在<三三速记英语词汇>丛书里面碰碰运气,说不定就 ...

  9. 影响数百万人的21个经典全英文演讲,看完英语水平暴增!赶紧收藏

    第一次见到娜娜,是在我组织的一次英语沙龙上. 她大学毕业不久,举着话筒说:"我的英语不可能好了,是我太笨了!" "那些整天吃喝玩乐的同学,都顺利入职外企工作,而我每天花8 ...

最新文章

  1. 【青少年编程】陈晓光:打靶游戏
  2. 坚果3“凉了”,罗永浩只提了一次人工智能
  3. R语言统计入门课程推荐——生物科学中的数据分析Data Analysis for the Life Sciences
  4. Vijos1404遭遇战[最短路建模]
  5. 全球及中国微电网市场规模容量及建设运营模式分析报告2021年版
  6. Oracle分组取出每组的第一笔数据
  7. redis 使用管道pipeline和不使用管道的性能对比
  8. 关于启动 SecureCRT 遇到一个致命的错误且必须关闭
  9. springboot项目后台运行关闭_springboot项目在服务器上部署过程(新手教程)
  10. Oracel官网下载各类版本的JDK
  11. Maven使用创建项目(一)
  12. 表贴电阻尺寸与什么有关_0欧电阻存在的意义?看了就懂了
  13. linux下常用vim命令
  14. meson中自定义变量的使用
  15. 华为鸿蒙鲲鹏麒麟凌霄,华为麒麟、凌霄、鸿鹄三大芯片有什么区别?
  16. 学习python很无趣?看看这篇文章教你采集无水印美女视频(含视频教程)
  17. 测试进阶篇之测试用例设计-百度云盘
  18. 浏览器输入一个URL地址后发生的事情
  19. mos管的rc吸收电路计算_一种反激式开关电源中MOS管的RC吸收电路的制作方法
  20. strcmp函数的两种实现

热门文章

  1. linux usleep 线程控制权_linux多线程同步—信号量
  2. td 双击 编辑 php,双击表格td进行编辑
  3. java 分布式编译_linux分布式编译distcc和ccache的部署
  4. php apache win7,win7安装apache+php
  5. php authcode java_PHP(authcode)加密解密
  6. C++网络编程快速入门(四):EPOLL模型使用
  7. python创建矩阵_在Python中创建矩阵的Python程序
  8. controller控制器怎么写_I2C控制器编程_框架
  9. js能订阅mq吗_测试工程师,必须了解的MQ知识!
  10. redis 哨兵_Redis哨兵机制的原理介绍