摘要
服务器响应客户请求一般采用并发式服务,但普遍存在着开销大及资源不足等问题,而线程池技术是解决这些问题的一个良好解决方案.在POSIX线程库研究的基础上,提出了以ARM9为硬件平台进行嵌入式服务器线程池设计,并优化了线程池设计的几个关键问题.
Parallel service is mostly adopted in servers to respond to clients' requests, but this service type is at expense of system cost and in lack of sufficient resources. Thread pool turns out to be a good alternative to tackle the problems mentioned. In this paper, based on the analysis of POSIX thread library, an embeddedthread-pool system (ARM9) with ARM9 as the hardware platform is proposed. In addition, optimization is applied in solving several main problems found in thread pool design.
出处
《宁波大学学报(理工版)》
CAS
2008年第1期49-54,共6页
Journal of Ningbo University:Natural Science and Engineering Edition
基金
国家自然科学基金(60672070)
宁波市科技攻关项目(2006B100067)