diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-23 20:29:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 20:29:30 (GMT) |
commit | 097b7830cd67f039ff36ba4fa285d82d26e25e84 (patch) | |
tree | af283738ec5257f6b66283bbd4fdcba077a6f10a /Lib/idlelib/idle_test/test_debugobj_r.py | |
parent | 08b4eb83aadcbdb389b5970b51cac9be95146c2a (diff) | |
download | cpython-097b7830cd67f039ff36ba4fa285d82d26e25e84.zip cpython-097b7830cd67f039ff36ba4fa285d82d26e25e84.tar.gz cpython-097b7830cd67f039ff36ba4fa285d82d26e25e84.tar.bz2 |
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.)
Diffstat (limited to 'Lib/idlelib/idle_test/test_debugobj_r.py')
0 files changed, 0 insertions, 0 deletions