summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-01-06 13:36:38 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-01-06 13:36:38 (GMT)
commited59d205a94747ad57f78ae35f46837a994da8cb (patch)
tree554f575cfa4887217b826e1b96d6456246854041 /Python/ceval.c
parentfea2af1e9b0c99cac6cb8806c4af651a38e92d07 (diff)
downloadcpython-ed59d205a94747ad57f78ae35f46837a994da8cb.zip
cpython-ed59d205a94747ad57f78ae35f46837a994da8cb.tar.gz
cpython-ed59d205a94747ad57f78ae35f46837a994da8cb.tar.bz2
Various changes.
* Makefile: svmodule.c.proto and svgen.py are gone, svmodule.c came in their stead. Also, pass -DUSE_DL flag to thread.c and give the user a possibility to add the -DDEBUG to just thread.c. * ceval.c: init_save_thread() can be called more than once now. * svgen.py, svmodule.c.proto, svmodule.c: Removed prototype file and replaced it by the generated file. * thread.c: Added some more checks; added call to DL library when it is also used to tell it where the shared arena is so that DL can use some other area. * threadmodule.c: Call init_save_thread from another place. Also, added new function getlocklock() which does to lock objects what getfilefile does to file objects.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index e548763..4a278aa 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -98,7 +98,7 @@ void
init_save_thread()
{
if (interpreter_lock)
- fatal("2nd call to init_save_thread");
+ return;
interpreter_lock = allocate_lock();
acquire_lock(interpreter_lock, 1);
}