]> granicus.if.org Git - python/commit
Issue #3001: Add a C implementation of recursive locks which is used by
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 10 Nov 2009 18:46:01 +0000 (18:46 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 10 Nov 2009 18:46:01 +0000 (18:46 +0000)
commit434736a1a621f785858e58efe682320178de7993
treecbd08641338319c3c8d6c85d3680ee6c8dad279a
parent0e31201848f45db86bea6bf5bd196e2db88fbfbe
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).
Lib/test/test_threading.py
Lib/threading.py
Misc/NEWS
Modules/_threadmodule.c