[issue4293] Thread Safe Py_AddPendingCall

Amaury Forgeot d'Arc report at bugs.python.org
Wed Nov 12 11:09:05 CET 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Py_AddPendingCall is used inside signal handlers.
It seems that there is a (tiny) chance that a signal interrupts the
program inside Py_MakePendingCalls, while the pendinglock is held.
Py_AddPendingCall would try to acquire this lock again and deadlock.

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list