[Stackless-checkins] CVS: slpdev/src/2.3/dev/Stackless/module scheduling.c, 1.102, 1.103
Christian Tismer
tismer at centera.de
Sat Jun 5 22:02:13 CEST 2004
Update of /home/cvs/slpdev/src/2.3/dev/Stackless/module
In directory centera.de:/tmp/cvs-serv4561/Stackless/module
Modified Files:
scheduling.c
Log Message:
still hunting a linux bug.
Made sure that schedule_task_destruct will always do a soft switch.
Index: scheduling.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Stackless/module/scheduling.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** a/scheduling.c 3 Jun 2004 12:23:13 -0000 1.102
--- b/scheduling.c 5 Jun 2004 20:02:10 -0000 1.103
***************
*** 894,897 ****
--- 894,899 ----
/* we should have no nesting level */
assert(ts->st.nesting_level == 0);
+ /* even there is a (buggy) nesting, ensure soft switch */
+ ts->st.nesting_level = 0;
/* update what's not yet updated */
_______________________________________________
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