python/dist/src/Python pystate.c,2.42,2.43
Update of /cvsroot/python/python/dist/src/Python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16774/Python Modified Files: pystate.c Log Message: Forward port bugfix: [ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code) (note that this only happens in a threads-disabled build). Index: pystate.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v retrieving revision 2.42 retrieving revision 2.43 diff -u -d -r2.42 -r2.43 --- pystate.c 20 Jun 2005 16:52:57 -0000 2.42 +++ pystate.c 30 Sep 2005 08:20:24 -0000 2.43 @@ -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;
participants (1)
-
mwh@users.sourceforge.net