python multiprocessing.Pool - UnpickleableError: Cannot pickle thread.lock'> objects
相关代码:
1 pool = multiprocessing.Pool(processes=pool_size, initializer=start_process)
2
3 #process_cralwer = pool.apply_async(dianshang_current.main, args=(max_threads_num, db, i))
4
5 process_c