diff options
author | Antoine Pitrou <pitrou@free.fr> | 2017-06-26 20:07:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 20:07:20 (GMT) |
commit | 85b34edd8b575b918490afbcb0db6f791874dbdd (patch) | |
tree | e55ccb20bdbf009fb9957a91515534fa98071916 /Misc/NEWS.d/next | |
parent | 849b062a82ca2f09e33259d34067faba196c9e23 (diff) | |
download | cpython-85b34edd8b575b918490afbcb0db6f791874dbdd.zip cpython-85b34edd8b575b918490afbcb0db6f791874dbdd.tar.gz cpython-85b34edd8b575b918490afbcb0db6f791874dbdd.tar.bz2 |
[3.5] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) (#2419)
* bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock
This is especially important if PyThread_acquire_lock() is called reentrantly
(for example from a signal handler).
* Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst
* Avoid core logic when taking the mutex failed.
(cherry picked from commit f84ac420c2af98339678744953869cad3c253281)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst b/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst new file mode 100644 index 0000000..08d76cb --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst @@ -0,0 +1,2 @@ +Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked +not to block. |