diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-12 02:12:30 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-12 02:12:30 (GMT) |
commit | 421c1319adec1bc0f2c822f1055f79a2f0cf3b58 (patch) | |
tree | ce4a92245a71e5d1e180a5d349f7a8296905189a /Python | |
parent | 6b4953fd3d3d1df06f692af67f593d3d0a7aef26 (diff) | |
download | cpython-421c1319adec1bc0f2c822f1055f79a2f0cf3b58.zip cpython-421c1319adec1bc0f2c822f1055f79a2f0cf3b58.tar.gz cpython-421c1319adec1bc0f2c822f1055f79a2f0cf3b58.tar.bz2 |
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
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 9 | ||||
-rw-r--r-- | Python/pythonrun.c | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 6d2b17f..a0e8b30 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -230,15 +230,6 @@ PyEval_InitThreads(void) } 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); diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 80f6232..88fd67c 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -60,7 +60,6 @@ static void call_sys_exitfunc(void); static void call_ll_exitfuncs(void); extern void _PyUnicode_Init(void); extern void _PyUnicode_Fini(void); -extern void _PyEval_FiniThreads(void); #ifdef WITH_THREAD extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); @@ -462,8 +461,6 @@ Py_Finalize(void) _PyUnicode_Fini(); #endif - _PyEval_FiniThreads(); - /* XXX Still allocated: - various static ad-hoc pointers to interned strings - int and float free list blocks |