summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-12-15 22:59:16 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-12-15 22:59:16 (GMT)
commit810023db3e91c18f428e27378d00c3a5a56330c6 (patch)
tree98b7710d8855ccbed5d84e6d64ff617fe7e53570 /Doc/library
parent119cda0fd25561c2a21212c80f211af966104297 (diff)
downloadcpython-810023db3e91c18f428e27378d00c3a5a56330c6.zip
cpython-810023db3e91c18f428e27378d00c3a5a56330c6.tar.gz
cpython-810023db3e91c18f428e27378d00c3a5a56330c6.tar.bz2
Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads. Patch by Reid Kleckner.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/_thread.rst4
-rw-r--r--Doc/library/threading.rst3
2 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/_thread.rst b/Doc/library/_thread.rst
index c087c75..369e9cd 100644
--- a/Doc/library/_thread.rst
+++ b/Doc/library/_thread.rst
@@ -137,6 +137,10 @@ Lock objects have the following methods:
.. versionchanged:: 3.2
The *timeout* parameter is new.
+ .. versionchanged:: 3.2
+ Lock acquires can now be interrupted by signals on POSIX.
+
+
.. method:: lock.release()
Releases the lock. The lock must have been acquired earlier, but not
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 282d705..371ac90 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -408,6 +408,9 @@ All methods are executed atomically.
.. versionchanged:: 3.2
The *timeout* parameter is new.
+ .. versionchanged:: 3.2
+ Lock acquires can now be interrupted by signals on POSIX.
+
.. method:: Lock.release()