cpython/Misc/NEWS.d/next/Tests/2018-12-18-23-20-39.bpo-317...

5 lines
267 B
ReStructuredText
Raw Normal View History

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.