summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-01-18 12:49:26 (GMT)
committerGitHub <noreply@github.com>2024-01-18 12:49:26 (GMT)
commit569182c4ad5ad4b2bcbdcdef3abb18cdf990dd5a (patch)
treed469421f2c8ef109f7b6091e2a28d0a27628875d /Python/pythonrun.c
parent363dddba14741ad1a63b62dde7dc54a8e0ab1f87 (diff)
downloadcpython-569182c4ad5ad4b2bcbdcdef3abb18cdf990dd5a.zip
cpython-569182c4ad5ad4b2bcbdcdef3abb18cdf990dd5a.tar.gz
cpython-569182c4ad5ad4b2bcbdcdef3abb18cdf990dd5a.tar.bz2
[3.11] gh-113205: test_multiprocessing.test_terminate: Shorter sleep for threadpools (GH-114186) (GH-114223)
Threads can't be forced to terminate (without potentially corrupting too much state), so the expected behaviour of `ThreadPool.terminate` is to wait for the currently executing tasks to finish. Use shorter sleep time for threadpools, so if a task manages to start, the test doesn't block for long. (cherry picked from commit c1db9606081bdbe0207f83a861a3c70c356d3704) Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions