Guido van Rossum 2fca21f762 PyEval_SaveThread() and PyEval_RestoreThread() now return/take a
PyThreadState pointer instead of a (frame) PyObject pointer.  This
makes much more sense.  It is backward incompatible, but that's no
problem, because (a) the heaviest users are the Py_{BEGIN,END}_
ALLOW_THREADS macros here, which have been fixed too; (b) there are
very few direct users; (c) those who use it are there will probably
appreciate the change.

Also, added new functions PyEval_AcquireThread() and
PyEval_ReleaseThread() which allows the threads created by the thread
module as well threads created by others (!) to set/reset the current
thread, and at the same time acquire/release the interpreter lock.

Much saner.
1997-07-18 23:56:58 +00:00
..
1996-10-25 14:44:06 +00:00
1994-08-29 10:43:12 +00:00
1996-10-25 14:44:06 +00:00
1996-10-25 14:44:06 +00:00
1997-05-05 22:15:02 +00:00
1996-10-25 14:44:06 +00:00
1997-05-07 23:51:07 +00:00
1997-01-20 18:34:55 +00:00
1997-05-07 23:51:07 +00:00
1996-08-29 18:10:41 +00:00
1997-05-07 23:51:07 +00:00
1997-03-14 04:32:50 +00:00
1996-08-29 18:10:30 +00:00
1996-08-19 22:12:39 +00:00
1997-05-22 20:41:59 +00:00