`
iunknown
  • 浏览: 404623 次
社区版块
存档分类
最新评论
文章列表
http://monkeymail.org/archives/libevent-users/2006-October/000257.html Passing data between event loops in multithreaded apps http://www.weirdness.net/code/libevent
spxml 是一个实现了 pull 和 dom 两种解释模型的 xml 解释器。 spxml 使用 c++ 实现,除系统库之外,不依赖第三方库,目前实现了以下功能: 1.实现了 xml pull parser 的功能; 2.基于 xml pull parser 构造一个 dom tree; 3.能够对 dom tree 进行修改; 4.能把 dom tree 重新序列化为一个字符流; 5.处于底层的 xml pull parser 是一个面向流的解释器,用户不需要一次把一个完整的 xml 字符流传递给 spxml ,极端情况下,可以每次只传入一个字符。解释到一个文档结束时,自动生成 EndDo ...

曼联之歌

    博客分类:
  • MISC
曼联的第三首队歌: Sing up for the champions reds united There’s Only One United There’s Only One United There’s Only One United There’s Only One United ! Champione, Oh Wey,Champion ,Oh Wey, Oh Wey, Oh Wey ,Oh Wey, Champione, Oh Wey,Champion ,Oh Wey, Oh Wey, Oh Wey ,Oh Wey. We Retained The Premier League L ...
libevent - an event notification library http://www.monkey.org/~provos/libevent/ http://www.monkey.org/~provos/libevent/event3.html 《unix网络编程》 (第二版,中文版) 27.4 TCP 迭代服务器程序 6.8 TCP 回射服务器程序(修订版) 6.11 TCP 回射服务器程序(再修订版) Page 141 的代码去掉错误处理之后的大概流程如下 for( ; ; ) { nready = select( maxfd + 1, &rset, ...
当前问题: 30岁了 该如何谋划自己的未来 时间: 2006-12-20 上午10:56 用户: HOHO2006 http://forum.ceconline.com/FORUM_POST_900035_900094_858390_0.HTM?click_from=2000000006,8800037516,2006-12-20,CECOL,NEWSLETTER 30岁,这是许多人职业生涯的一个门槛。他们已 ...
想找个轻便的 thread pool 实现,结果发现网上能找到的都是一些很重量级的,如 boost,ACE 里面的。唯有自己照着下面的需求实现了一个 http://paul.rutgers.edu/~csgates/CS416/proj2/index.html 源代码下载: http://code.google.com/p/spserver/downloads/list ...
http://wiki.apache.org/directory/MinaTutorialInChinese 如果想实现复杂的如LDAP这样的协议怎么办呢?它似乎是一个恶梦,因为IO层没有帮助你分离‘message解析’和‘实际的业务逻辑(比如访问一个目录数据库)’。MINA提供了一个协议层来解决这个问题。协议层将ByteBuffer事件转换成高层的POJO事件: 就像前面提到的,你只需撰写面向POJO的message而不是ByteBuffer的。ProtocolEncoder 将message对象解释成ByteBuffers以便IO层能够将他们输出到socket。
http://www.artima.com/articles/io_design_patterns3.html System I/O can be blocking, or non-blocking synchronous, or non-blocking asynchronous [1, 2]. Blocking I/O means that the calling system does not return control to the caller until the operation is finished. Most important, the caller thre ...
http://blog.csdn.net/umbrella1984/archive/2006/10/06/1322890.aspx epoll的使用 令人高兴的是,2.6内核的epoll比其2.5开发版本的/dev/epoll简洁了许多,所以,大部分情况下,强大的东西往往是简单的。唯一有点麻烦是epoll有2种工作方式:LT和ET。 LT(l ...
Global site tag (gtag.js) - Google Analytics