Staging
v0.5.1
https://github.com/python/cpython
Revision 85b34edd8b575b918490afbcb0db6f791874dbdd authored by Antoine Pitrou on 26 June 2017, 20:07:20 UTC, committed by GitHub on 26 June 2017, 20:07:20 UTC
* 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)
1 parent 849b062
History
Tip revision: 85b34edd8b575b918490afbcb0db6f791874dbdd authored by Antoine Pitrou on 26 June 2017, 20:07:20 UTC
[3.5] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) (#2419)
Tip revision: 85b34ed
File Mode Size
cache.c -rw-r--r-- 12.2 KB
cache.h -rw-r--r-- 2.3 KB
connection.c -rw-r--r-- 50.3 KB
connection.h -rw-r--r-- 4.7 KB
cursor.c -rw-r--r-- 34.2 KB
cursor.h -rw-r--r-- 2.5 KB
microprotocols.c -rw-r--r-- 4.3 KB
microprotocols.h -rw-r--r-- 2.1 KB
module.c -rw-r--r-- 15.1 KB
module.h -rw-r--r-- 1.9 KB
prepare_protocol.c -rw-r--r-- 4.3 KB
prepare_protocol.h -rw-r--r-- 1.5 KB
row.c -rw-r--r-- 9.3 KB
row.h -rw-r--r-- 1.2 KB
statement.c -rw-r--r-- 17.1 KB
statement.h -rw-r--r-- 2.1 KB
util.c -rw-r--r-- 5.1 KB
util.h -rw-r--r-- 1.5 KB

back to top