摘要
在各种业务解决方案的设计中,服务器处理任务的效率是衡量方案优劣的一个重要标准 使用线程池技术发处理任务是提高服务器效率的一个主要手段 在几乎所有线程池的设计中,线程的算法都没有根据线程所要执行的任务特点进行调整,导致实际使用过程中的效率并不高 作者设计了一个通用的线程池,并且可以根据不同任务的特点,调整线程池参数。
In the designs of various kinds of business solutions,the efficiency of processing tashs in the server is an important standard to weight these solutions.A main means to improve the effciency is to adopt thread poolins thchnology to process task concurrently.But the algorithm of most thread pool based on the characteristic of tasks.As a result,the efficiency of system is improved scarcely.An extensible thread pool is designed in the thesis.It can be set up the corresponding parameters according to the different characteristic of processing tasks in different server.And in this way the improvement of server performance will be the most enormous.
出处
《四川大学学报(自然科学版)》
CAS
CSCD
北大核心
2005年第1期63-67,共5页
Journal of Sichuan University(Natural Science Edition)
关键词
多线程
阻塞
线程池
任务
量级
multithreading
suspend
thread pool
task
weight