summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-04-08 14:47:42 (GMT)
committerGitHub <noreply@github.com>2024-04-08 14:47:42 (GMT)
commit26a680a58524fe39eecb243e37adfa6e157466f6 (patch)
tree771940c33d30b40d10b1880465b45a2a0306ef7b /Mac
parent59864edd572b5c0cc3be58087a9ea3a700226146 (diff)
downloadcpython-26a680a58524fe39eecb243e37adfa6e157466f6.zip
cpython-26a680a58524fe39eecb243e37adfa6e157466f6.tar.gz
cpython-26a680a58524fe39eecb243e37adfa6e157466f6.tar.bz2
gh-117293: Fix race condition in run_workers.py (#117298)
The worker thread may still be alive after it enqueues it's last result, which can lead to a delay of 30 seconds after the test finishes. This happens much more frequently in the free-threaded build with the GIL disabled. This changes run_workers.py to track of live workers by enqueueing a `WorkerExited()` instance before the worker exits.
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions