]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (#93941)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Jun 2022 14:11:25 +0000 (16:11 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Jun 2022 14:11:25 +0000 (16:11 +0200)
commitf64557f4803528c53bb9a1d565e3cdf92e97152f
tree88db0227974869e1af98bd10e4b60260edb469d2
parente444752fabb691593af9e2f767419bb5fd6ba507
gh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (#93941)

Set timeout, don't create a local variable with the same name.
Python/thread_pthread.h