SIGN IN SIGN UP

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.
V
Victor Stinner committed
05c9d31eb62cc45dc3c55a5cdb7cbc713d0421db
Parent: b5c8cfa
Committed by GitHub <noreply@github.com> on 12/18/2018, 10:52:39 PM