|
I recently looked at the technology of the Linux thread pool
Many articles say that "implementing a universal thread pool framework consists of five important parts: CThreadManage, CThreadPool, CThread, CJob, and CWorkerThread. In addition, the framework also includes the classes CThreadMutex and CCondition for thread synchronization."
Are the definitions of these classes custom or refer to that system header file? Didn't figure it out ?!
Which brother Taiwan has this code, let me show it, thank you !!! |
|