期刊文献+

基于多线程的Linux下并发服务器的实现研究 被引量:4

The Implement of Multithread Concurrent Server in Linux
在线阅读 下载PDF
导出
摘要 探讨了Linux平台下多线程技术和套接字网络通讯问题,在此基础上利用互斥锁和条件变量技术设计了一个面向连接的多线程并发服务器的详细算法。最后给出了基于Posix线程库的Linux系统下用C++实现多线程并发服务器的基本程序框架。实际项目应用表明这种基于多线程的并发服务器结构在完善程序功能的同时还可以有效提高其服务性能。 The paper discusses the techniques of multithread and the socket communication under the Linux platform. Then, based on mutual exclusion and condition variables, a detailed algorithm to implement the connection - oriented multithread concurrent server is given. Finally, the basic program frame to implement multithread concurrent server with C ++ language under Linux system based on Posix thread library is presented. The application shows the proposed frame can improve the service performance while expand the program's functions effectively.
出处 《微计算机应用》 2007年第4期368-371,共4页 Microcomputer Applications
基金 国家863计划资助项目(2001AA422270)
关键词 多线程 并发服务器 套接字 LINUX系统 Muhithread, Concurrent Server, Socket, Linux
作者简介 张志佳,男,(1974-),博士,研究方向为模式识别、软件工程等。 于立国,男,(1978-),工程师,研究方向为软件工程、数据通信等。
  • 相关文献

参考文献5

二级参考文献6

  • 1周明天.TCP/IP网络原理与技术[M].北京:清华大学出版社,1997.196.
  • 2魏永明.Linux实用教程[M].北京:电子工业出版社,2000..
  • 3魏永明,Linux 实用教程,2000年
  • 4唐靖飚,UNIX平台下C语言高级编程指南,2000年
  • 5孟庆昌,操作系统教程,1997年
  • 6(美)KrisJamsa,(美)KenCope著,刘素丽等.Internet 编程[M]电子工业出版社,1996.

共引文献22

同被引文献28

引证文献4

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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