Message285748
Ok, thanks for the explanation!
One thing still bother me, run_in_executor() allow us to launch blocking operations but without blocking the main thread, so there is a high chance that we wait inside one of the pool's worker.
Does this mean run_in_executor() shouldn't be used for long/indefinite blocking operation? |
|
Date |
User |
Action |
Args |
2017-01-18 17:22:06 | rsebille | set | recipients:
+ rsebille, gvanrossum, vstinner, yselivanov |
2017-01-18 17:22:06 | rsebille | set | messageid: <1484760126.34.0.121934776288.issue29309@psf.upfronthosting.co.za> |
2017-01-18 17:22:06 | rsebille | link | issue29309 messages |
2017-01-18 17:22:06 | rsebille | create | |
|