summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-13 22:58:45 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-13 22:58:45 (GMT)
commit5bab5080850b68be5e1cd804c0cc5168d0e8882a (patch)
tree36dae444be87e5e5ac26c997a16be272ca61f8d2
parentd59f5717f918f993e9254fdb7c0139868790e828 (diff)
downloadcpython-5bab5080850b68be5e1cd804c0cc5168d0e8882a.zip
cpython-5bab5080850b68be5e1cd804c0cc5168d0e8882a.tar.gz
cpython-5bab5080850b68be5e1cd804c0cc5168d0e8882a.tar.bz2
Add a note about the RLock acceleration
-rw-r--r--Doc/whatsnew/3.2.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index a47ee99..a8b2fe4 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -105,6 +105,12 @@ Multi-threading
(Contributed by Antoine Pitrou)
+* Recursive locks (created with the :func:`threading.RLock` API) now benefit
+ from a C implementation which makes them as fast as regular locks, and
+ between 10x and 15x faster than their previous pure Python implementation.
+
+ (Contributed by Antoine Pitrou; :issue:`3001`.)
+
Optimizations
=============