Romain Sébille added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29309>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to