diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-10 00:37:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 00:37:42 (GMT) |
commit | 211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f (patch) | |
tree | e00d3bce60207655ec5b229bb594d2a654f8dd6c /Lib/sre_parse.py | |
parent | 291557e2904fa149ee3d56142f41acf63c47fea3 (diff) | |
download | cpython-211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f.zip cpython-211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f.tar.gz cpython-211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f.tar.bz2 |
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).
Diffstat (limited to 'Lib/sre_parse.py')
0 files changed, 0 insertions, 0 deletions