]> granicus.if.org Git - python/commit
Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 30 Apr 2011 13:21:58 +0000 (15:21 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 30 Apr 2011 13:21:58 +0000 (15:21 +0200)
commita92933596156337cc004027e41073db6d68616b9
tree581f92c46d9bb5302e5dc49007b2998a58ac19e8
parentd5c355ccc70d011ef2010537838d9a82e24b2b80
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.
Doc/library/signal.rst
Doc/whatsnew/3.3.rst
Lib/test/test_io.py
Lib/test/test_signal.py
Misc/NEWS
Modules/signalmodule.c