[Stackless-checkins] CVS: slpdev/src/2.3/dev/Stackless/module scheduling.c, 1.104, 1.105
Christian Tismer
tismer at centera.de
Sun Jun 6 14:53:08 CEST 2004
Update of /home/cvs/slpdev/src/2.3/dev/Stackless/module
In directory centera.de:/tmp/cvs-serv25878/Stackless/module
Modified Files:
scheduling.c
Log Message:
temporary debug checkin
Index: scheduling.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Stackless/module/scheduling.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** a/scheduling.c 5 Jun 2004 20:10:38 -0000 1.104
--- b/scheduling.c 6 Jun 2004 12:53:04 -0000 1.105
***************
*** 439,443 ****
check_for_deadlock(void)
{
! PyThreadState *ts = PyThreadState_Get();
PyInterpreterState *interp = ts->interp;
--- 439,443 ----
check_for_deadlock(void)
{
! PyThreadState *ts = PyThreadState_GET();
PyInterpreterState *interp = ts->interp;
***************
*** 819,825 ****
--- 819,827 ----
++ts->st.nesting_level;
+ printf("schedule ++ %d\n", ts->st.nesting_level);
if ((ts->exc_type != NULL ? transfer_with_exc : slp_transfer)(
cstprev, next->cstate, prev) == 0) {
--ts->st.nesting_level;
+ printf("schedule -- %d\n", ts->st.nesting_level);
retval = prev->tempval;
Py_INCREF(retval);
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
More information about the Stackless-checkins
mailing list