检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张志佳[1] 于立国[2] 李海滨[2] 王东署 苑葳
机构地区:[1]沈阳工业大学,沈阳110023 [2]中国科学院沈阳自动化研究所,沈阳110016 [3]东北大学人工智能与机器人研究所,沈阳110004 [4]中国联通辽宁分公司,沈阳110003
出 处:《微计算机应用》2007年第4期368-371,共4页Microcomputer Applications
基 金:国家863计划资助项目(2001AA422270)
摘 要:探讨了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.
分 类 号:TP393.05[自动化与计算机技术—计算机应用技术] TP316.81[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.147