summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-10 18:46:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-10 18:46:01 (GMT)
commit434736a1a621f785858e58efe682320178de7993 (patch)
treecbd08641338319c3c8d6c85d3680ee6c8dad279a /Misc
parent0e31201848f45db86bea6bf5bd196e2db88fbfbe (diff)
downloadcpython-434736a1a621f785858e58efe682320178de7993.zip
cpython-434736a1a621f785858e58efe682320178de7993.tar.gz
cpython-434736a1a621f785858e58efe682320178de7993.tar.bz2
Issue #3001: Add a C implementation of recursive locks which is used by
default when instantiating a `Threading.RLock` object. This makes recursive locks as fast as regular non-recursive locks (previously, they were slower by 10x to 15x).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8c0f0ec..978565a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -123,6 +123,11 @@ C-API
Library
-------
+- Issue #3001: Add a C implementation of recursive locks which is used by
+ default when instantiating a `threading.RLock` object. This makes
+ recursive locks as fast as regular non-recursive locks (previously,
+ they were slower by 10x to 15x).
+
- Issue #7282: Fix a memory leak when an RLock was used in a thread other
than those started through `threading.Thread` (for example, using
`_thread.start_new_thread()`).