summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.3.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-30 13:21:58 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-30 13:21:58 (GMT)
commita92933596156337cc004027e41073db6d68616b9 (patch)
tree581f92c46d9bb5302e5dc49007b2998a58ac19e8 /Doc/whatsnew/3.3.rst
parentd5c355ccc70d011ef2010537838d9a82e24b2b80 (diff)
downloadcpython-a92933596156337cc004027e41073db6d68616b9.zip
cpython-a92933596156337cc004027e41073db6d68616b9.tar.gz
cpython-a92933596156337cc004027e41073db6d68616b9.tar.bz2
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.
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r--Doc/whatsnew/3.3.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 93da9d8..7b49886 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -118,7 +118,16 @@ sys
* The :mod:`sys` module has a new :func:`~sys.thread_info` :term:`struct
sequence` holding informations about the thread implementation.
- (:issue:`11223`)
+(:issue:`11223`)
+
+signal
+------
+
+* The :mod:`signal` module has a new :func:`~signal.pthread_sigmask` function
+ to fetch and/or change the signal mask of the calling thread.
+
+(Contributed by Jean-Paul Calderone in :issue:`8407`)
+
Optimizations
=============