On Python 3.8.5 I am using eventlet 0.30.0 and trying to run the following:
eventlet
import eventlet eventlet.monkey_patch() from multiprocessing.dummy import Pool as ThreadPool pool = ThreadPool(10) # never starts
If however I do not call eventlet.monkey_patch(), ThreadPool() starts fine. What is then the recommended way to do multiprocessing if using eventlet.monkey_patch()?
eventlet.monkey_patch()
ThreadPool()
1.4m articles
1.4m replys
5 comments
56.9k users