Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 39455:ed65765eb679 legacy-trunk
Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 12 Aug 2006 02:12:30 +0000 |
| parents | 9a1288d8200f |
| children | 6cafdc81cfde |
line wrap: on
line diff
--- a/Python/ceval.c Sat Aug 12 02:06:34 2006 +0000 +++ b/Python/ceval.c Sat Aug 12 02:12:30 2006 +0000 @@ -230,15 +230,6 @@ } void -_PyEval_FiniThreads(void) -{ - if (interpreter_lock) - PyThread_free_lock(interpreter_lock); - interpreter_lock = 0; - main_thread = 0; -} - -void PyEval_AcquireLock(void) { PyThread_acquire_lock(interpreter_lock, 1);
