From: Antoine Pitrou Date: Fri, 13 Nov 2009 22:58:45 +0000 (+0000) Subject: Add a note about the RLock acceleration X-Git-Tag: v3.2a1~2193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bab5080850b68be5e1cd804c0cc5168d0e8882a;p=thirdparty%2FPython%2Fcpython.git Add a note about the RLock acceleration --- diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index a47ee99c0d26..a8b2fe4a733a 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 =============