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/whatsnew | |
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/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index ed932ad..e3a92d1 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1212,6 +1212,12 @@ Multi-threading * Similarly, :meth:`threading.Semaphore.acquire` also gained a *timeout* argument. (Contributed by Torsten Landschoff; :issue:`850728`.) +* Regular and recursive lock acquisitions can now be interrupted by signals on + platforms using pthreads. This means that Python programs that deadlock while + acquiring locks can be successfully killed by repeatedly sending SIGINT to the + process (ie, by pressing Ctl+C in most shells). + (Contributed by Reid Kleckner; :issue:`8844`.) + Optimizations ============= |