commit | a92933596156337cc004027e41073db6d68616b9 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sat Apr 30 15:21:58 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sat Apr 30 15:21:58 2011 +0200 |
tree | 581f92c46d9bb5302e5dc49007b2998a58ac19e8 | |
parent | d5c355ccc70d011ef2010537838d9a82e24b2b80 [diff] |
Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch and/or change the signal mask of the calling thread. Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to ensure that the SIGALRM signal is received by the main thread. Original patch written by Jean-Paul Calderone.