Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

Another possibility would be accept the reality of the switching delay (so all 
the other commands work without extra changes) and working to minimize it by 
setting sys.setswitchinterval() to something ridiculously low and then 
switching it back to the previous value once we are in the thread that we want. 
If this is not enough we could sed modify the Gil-adquire code to do something 
similar to what the Python 2 implementation did when signals arrive that is 
basically switch constantly between threads until the one that we want runs.

----------

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

Reply via email to