首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 线程的创建、销毁和调度本身就是一个成本,如果线程的线程…

线程的创建、销毁和调度本身就是一个成本,如果线程的线程…

资 源 简 介

线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。-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
Bin
Doc
1_Require
2_Plan
3_Design
4_Develop
5_Test
Help
Bin
Source
Install
Output
Source
Obj
Register_ThreaPool.gif
Source
2ccc.com.nfo
Common
Components
MainForm
Public
ThreadPool.cfg
ThreadPool.dof
ThreadPool.dpr
ThreadPool.res
ThreadPool.~dpr
工人线程
管理者线程
VIP VIP
0.197463s