Register_ThreaPool

所属分类:进程与线程
开发工具:Delphi
文件大小:52KB
下载次数:60
上传日期:2006-10-21 18:52:04
上 传 者chame
说明:  线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。
(thread creation, destruction and scheduling itself is a cost, if the threads of a relatively simple task. That time and space costs can not be ignored, this time using thread pool is the better choice, namely, the creation of some thread then reuse them, rather than individual tasks completed after the end.)

文件列表:
2ccc.com.nfo (746, 2005-04-21)
Bin (0, 2006-10-20)
Doc (0, 2006-10-20)
Doc\1_Require (0, 2006-10-20)
Doc\2_Plan (0, 2006-10-20)
Doc\3_Design (0, 2006-10-20)
Doc\3_Design\ThreadPool.mpb (18222, 2006-10-19)
Doc\3_Design\ThreadPool.~mm (14807, 2006-10-19)
Doc\4_Develop (0, 2006-10-20)
Doc\5_Test (0, 2006-10-20)
Help (0, 2006-10-20)
Help\Bin (0, 2006-10-20)
Help\Source (0, 2006-10-20)
Install (0, 2006-10-20)
Install\Output (0, 2006-10-20)
Install\Source (0, 2006-10-20)
Obj (0, 2006-10-20)
Register_ThreaPool.gif (16641, 2006-10-20)
Source (0, 2006-10-19)
Source\2ccc.com.nfo (746, 2005-04-21)
Source\Common (0, 2006-10-20)
Source\Components (0, 2006-10-20)
Source\MainForm (0, 2006-10-20)
Source\MainForm\uMainForm.ddp (51, 2006-10-20)
Source\MainForm\uMainForm.dfm (1297, 2006-10-20)
Source\MainForm\uMainForm.pas (1909, 2006-10-20)
Source\MainForm\uMainForm.~ddp (51, 2006-10-20)
Source\MainForm\uMainForm.~dfm (1297, 2006-10-20)
Source\MainForm\uMainForm.~pas (1909, 2006-10-20)
Source\Public (0, 2006-10-20)
Source\Public\uPubStructs.PAS (151, 2006-10-20)
Source\Public\uPubStructs.~PAS (58, 2006-10-20)
Source\ThreadPool.cfg (516, 2006-10-19)
Source\ThreadPool.dof (2735, 2006-10-19)
Source\ThreadPool.dpr (373, 2006-10-20)
Source\ThreadPool.res (876, 2006-10-19)
Source\ThreadPool.~dpr (373, 2006-10-20)
Source\工人线程 (0, 2006-10-20)
Source\工人线程\uThreadWorker.pas (2718, 2006-10-20)
Source\工人线程\uThreadWorker.~pas (2704, 2006-10-20)
... ...

近期下载者

相关文件


收藏者