summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-20 23:28:09 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-20 23:28:09 +0200
commitd628496323bf594679b3d5b3e10d85da8a1c8996 (patch)
tree0b8b093b87725762bcbd819a01505166694a3c30 /Python/pythonrun.c
parent395dc58ee784087547115b684b2b39f40655ac47 (diff)
downloadcpython-git-d628496323bf594679b3d5b3e10d85da8a1c8996.tar.gz
Close #12363: fix a race condition in siginterrupt() tests
The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions