]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92530: Fix an issue that occurred after interrupting threading.Condition.notify...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 16 May 2022 05:25:29 +0000 (08:25 +0300)
committerGitHub <noreply@github.com>
Mon, 16 May 2022 05:25:29 +0000 (08:25 +0300)
commit70af994fee7c0850ae859727d9468a5f29375a38
treef2a55c4a3a3348f6c3d2d3da1ca74f7c469c9f58
parent953ab0795243900ccccaaca069d932730a86fc20
gh-92530: Fix an issue that occurred after interrupting threading.Condition.notify (GH-92534)

If Condition.notify() was interrupted just after it released the waiter lock,
but before removing it from the queue, the following calls of notify() failed
with RuntimeError: cannot release un-acquired lock.
Lib/threading.py
Misc/NEWS.d/next/Library/2022-05-09-09-28-02.gh-issue-92530.M4Q1RS.rst [new file with mode: 0644]