commit | 05c9d31eb62cc45dc3c55a5cdb7cbc713d0421db | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Dec 18 23:52:39 2018 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 18 23:52:39 2018 +0100 |
tree | ebab2882076c062d0515734909b4eef59430718b | |
parent | b5c8cfa1da17c6f3acac80a0afca7f7104fb9589 [diff] |
bpo-31731: Fix test_io.check_interrupted_write() (GH-11225) Fix a race condition in check_interrupted_write() of test_io: create directly the thread with SIGALRM signal blocked, rather than blocking the signal later from the thread. Previously, it was possible that the thread gets the signal before the signal is blocked.