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 /Python/graminit.c | |
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 'Python/graminit.c')
0 files changed, 0 insertions, 0 deletions