[Python-checkins] python/dist/src/Python pystate.c, 2.38.2.3, 2.38.2.4
mwh@users.sourceforge.net
mwh at users.sourceforge.net
Fri Sep 30 10:17:44 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15986/Python
Modified Files:
Tag: release24-maint
pystate.c
Log Message:
Fix bug:
[ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)
(note that this only happens in a threads-disabled build).
Will forward port momentarily.
Index: pystate.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v
retrieving revision 2.38.2.3
retrieving revision 2.38.2.4
diff -u -d -r2.38.2.3 -r2.38.2.4
--- pystate.c 23 Sep 2005 08:14:40 -0000 2.38.2.3
+++ pystate.c 30 Sep 2005 08:17:40 -0000 2.38.2.4
@@ -53,7 +53,9 @@
PyThreadState *_PyThreadState_Current = NULL;
PyThreadFrameGetter _PyThreadState_GetFrame = NULL;
+#ifdef WITH_THREAD
static void _PyGILState_NoteThreadState(PyThreadState* tstate);
+#endif
PyInterpreterState *
@@ -188,7 +190,9 @@
tstate->c_profileobj = NULL;
tstate->c_traceobj = NULL;
+#ifdef WITH_THREAD
_PyGILState_NoteThreadState(tstate);
+#endif
HEAD_LOCK();
tstate->next = interp->tstate_head;
More information about the Python-checkins
mailing list