期刊文献+

基于主从线程池的I/O解决方案

I/O Solution based on Leader/Follower Thread Pool Pattern
下载PDF
导出
摘要 在多线程侦听I/O事件时,我们必须处理好多线程和多I/O句柄之间的关系,既要尽量减少线程同步的开销,有要保证I/O的安全性,传统技术在这里遇到巨大的困难。为了解决这个问题,设计了一种服务器软件里的Leader/Follower线程池,这种线程池能够共享一组I/O端口,实现高效侦听,分发和处理I/O事件。实践表明这种方案能够大幅提高系统的I/O性能。 In the situation of multi-thread I/O, the relationship of threads and I/O handles must be well handled, as reduce the overhead of Thread synchronization and ensure I / O security.To do so, the tradition technology dose not work well. But fortunately, a perfect solution named Leader/follower thread pool is found, it can deal with sharing a set of I/O event sources well and detect, de-multiplex,dispatch,and process service requests that occur on these I/O event sources.
作者 刘林 刘正熙
出处 《微计算机信息》 2009年第18期188-189,179,共3页 Control & Automation
基金 国家863重点项目(涉密) 基金申请人:刘正熙等 基金颁发部门:国家科技部
关键词 事务 线程池 多线程 Transaction Thread pool multiple thread
  • 相关文献

参考文献2

二级参考文献4

  • 1董亚冰,戴青.一种可伸缩的鲁棒流媒体系统设计与实现[J].微计算机信息,2005,21(10X):66-68. 被引量:5
  • 2Jeffrey Richter. Programming Applications for Microsoft?Windows Fourth?Edition[M]. Microsoft Press,2000
  • 3Mickey Williams. Programming Microsoft Windows 2000 Unleashed[M].Sam Pubilshing, 1999
  • 4Jim Beveridge & Robert Wiener.Muhithreading Applications in Win32[M].Pearson Education,1997

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部