CodePudding user response:
Initialize the thread pool is good, is a one-off create multiple threads, and to create a thread for management,Binding, the only problem is with the CPU can check pthread_attr_setaffinity_np function of use,
The hope can help you,