[issue4293] Thread Safe Py_AddPendingCall

Kristján Valur Jónsson report at bugs.python.org
Wed Nov 12 11:13:11 CET 2008


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Right.
Isn't the best way to avoid it to block signals just while we pop the 
queue?  I'll see if python has a portable sigaction thing to do that.
Otherwise we'd have to start to mess with a "volatile busy" flag again 
and possibly introduce tricky race conditions.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4293>
_______________________________________


More information about the Python-bugs-list mailing list