问题描述
在 Python 3.8.5 上,我使用 eventlet
0.30.0 并尝试运行以下内容:
import eventlet
eventlet.monkey_patch()
from multiprocessing.dummy import Pool as ThreadPool
pool = ThreadPool(10) # never starts
但是,如果我不调用 eventlet.monkey_patch()
,ThreadPool()
开始正常。如果使用 eventlet.monkey_patch()
,那么推荐的多处理方式是什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)