[issue46726] Thread spuriously marked dead after interrupting a join call

Kevin Shweh report at bugs.python.org
Fri Feb 11 19:20:03 EST 2022


Kevin Shweh <kevin.shweh at gmail.com> added the comment:

The PR you submitted doesn't work, unfortunately. It essentially reintroduces issue 45274. If this line:

    if locked := lock.acquire(block, timeout):

gets interrupted between the acquire and the assignment, locked is still False. That's rare, but so is an interruption between the acquire and the release, which is the original form of issue 45274.

----------

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


More information about the Python-bugs-list mailing list