SIGN IN SIGN UP

bpo-30320: test_eintr now uses pthread_sigmask() (#1523)

Rewrite sigwaitinfo() and sigtimedwait() unit tests for EINTR using
pthread_sigmask() to fix a race condition between the child and the
parent process.

Remove the pipe which was used as a weak workaround against the race
condition.

sigtimedwait() is now tested with a child process sending a signal
instead of testing the timeout feature which is more unstable
(especially regarding to clock resolution depending on the platform).
V
Victor Stinner committed
211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f
Parent: 291557e
Committed by GitHub <noreply@github.com> on 5/10/2017, 12:37:42 AM