]> granicus.if.org Git - python/commit
Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the
authorGuido van Rossum <guido@python.org>
Tue, 30 Sep 1997 22:03:16 +0000 (22:03 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 30 Sep 1997 22:03:16 +0000 (22:03 +0000)
commitb74eca93496e7abcf5fc10b15aef55739e6074d5
treead1fe06512c3133351d00d7bac9f69118d351342
parentb4102bf5f8bb429788e317312c353dd2965cdf4f
Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the
tstate swapping.  Only the acquiring and releasing of the lock is
conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if
(interpreter_lock)'').
Python/ceval.c