SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-104341: Add a Separate "Running" Lock for Each Thread (gh-104754)

Having a separate lock means Thread.join() doesn't need to wait for the thread to be cleaned up first.  It can wait for the thread's Python target to finish running.  This gives us some flexibility in how we clean up threads.

(This is a minor cleanup as part of a fix for gh-104341.)
E
Eric Snow committed
097b7830cd67f039ff36ba4fa285d82d26e25e84
Parent: 08b4eb8
Committed by GitHub <noreply@github.com> on 5/23/2023, 8:29:30 PM