diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-12-15 22:59:16 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-12-15 22:59:16 (GMT) |
commit | 810023db3e91c18f428e27378d00c3a5a56330c6 (patch) | |
tree | 98b7710d8855ccbed5d84e6d64ff617fe7e53570 /Doc/library | |
parent | 119cda0fd25561c2a21212c80f211af966104297 (diff) | |
download | cpython-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.rst | 4 | ||||
-rw-r--r-- | Doc/library/threading.rst | 3 |
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() |