Thread Association class
2017-11-22
1 0 0
no vote
Other
Earn points
#Include & quot; ThreadPool. H & quot; # - include & quot; workerthread. H & quot; # - include & quot; task. H & quot; / * * *_ threadNum = initnum;m_ Maxthrnum = initnum * 2; / / maximum number of threads for (int i = 0; I & lt; m_ threadNum; i++){ CWorkerThread* thr = new CWorkerThread(); thr->SetThreadPool(this); thr->Start();AppendToIdleList(thr); }m_ monitor = 0;}CThreadPool::~CThreadPool(){ TerminateAll();}void CThreadPool::TerminateAll(){m_ mtxTaskList.Lock ();m_ taskList.clear ();m_ mtxTas
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment