Process pool callback function

Child process to execute func1, the return value as a parameter passed to func1 func2, (func1 is a sub-thread execution, func is executed by the main thread)

Usually for the callback function reptiles: all child threads for crawling data, the main thread is used to process the data (data crawling time-consuming, less time consuming data processing)

Guess you like

Origin www.cnblogs.com/qyh1499816254/p/11359638.html