commit | 75aa0d6abe706ef4048c1d38c2cde28d8eb924e3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jul 18 23:57:50 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jul 18 23:57:50 1997 +0000 |
tree | a8096dadf47d2437e750a96e82027f0856178eab | |
parent | 2fca21f76280300201acf529527e58e2705ff6aa [diff] |
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.