]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use the new functions PyEval_AcquireThread() and
authorGuido van Rossum <guido@python.org>
Fri, 18 Jul 1997 23:57:50 +0000 (23:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 18 Jul 1997 23:57:50 +0000 (23:57 +0000)
commit75aa0d6abe706ef4048c1d38c2cde28d8eb924e3
treea8096dadf47d2437e750a96e82027f0856178eab
parent2fca21f76280300201acf529527e58e2705ff6aa
Use the new functions PyEval_AcquireThread() and
PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread,
and at the same time acquire/release the interpreter lock.

Much saner.
Modules/threadmodule.c