[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

Kristján Valur Jónsson report at bugs.python.org
Wed Sep 11 11:30:36 EDT 2019


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

Interesting.  Yet another reason to always do condition signalling with the lock held, such as is good practice to avoid race conditions.  That's the whole point of condition variables.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38106>
_______________________________________


More information about the Python-bugs-list mailing list