]> granicus.if.org Git - python/commit
Add locks to make the caches well behaved in multi-threaded code.
authorRaymond Hettinger <python@rcn.com>
Sat, 14 Aug 2010 22:22:10 +0000 (22:22 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 14 Aug 2010 22:22:10 +0000 (22:22 +0000)
commitcbe8813f18da15b239c58e1ba5c236c77872e413
tree463b344b616cb54da0fcd14f753840fd5062874c
parentd9e8cc6249c7ff4ceeff3217a7671bee623d88a7
Add locks to make the caches well behaved in multi-threaded code.
Store builtins in cell variables to speed-up the common path,
reducing the chance of a lock needing to block at all.
Lib/functools.py