threadpool源码学习 __all__ = [ 'makeRequests', 'NoResultsPending', 'NoWorkersAvailable', 'ThreadPool', 'WorkRequest', 'WorkerThread' ] WorkerThread WorkerThread(requests_queue, results_queue) 将实例化一个线程对象,实例化后就会执行自身的run方法.run方法里执行一个while循环,一直去requests_queu…