]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backported thread fixes from 2.4 (by mostly copying pystate.c over from 2.4):
authorArmin Rigo <arigo@tunes.org>
Tue, 9 Nov 2004 15:35:23 +0000 (15:35 +0000)
committerArmin Rigo <arigo@tunes.org>
Tue, 9 Nov 2004 15:35:23 +0000 (15:35 +0000)
commit512f2eee1b677c023116f8f96e12f65f385b596f
treeac81c265ee81cd2bebde587aed441ca1bdfb575e
parent3497155a03f41664f291928096c19b3bc9385e7c
Backported thread fixes from 2.4 (by mostly copying pystate.c over from 2.4):

* using malloc() and free() directly, as explained in the new comment
* coding style in the PyGILState_*() functions
* the recent destroy-tstate-without-holding-the-GIL bug
* lock fixes and many more comments in thread.c
Python/pystate.c
Python/thread.c