Introduction - If you have any usage issues, please Google them yourself
Implementation of thread pool is divided into three parts, thread creation, add the task to the thread pool, work out a thread from the task queue task for processing. There are two main classes to implement, CTask, CThreadPool