[Stackless] Again and Re: my uthreads execute serially
Christian Tismer
tismer at tismer.com
Sat Jan 13 01:03:51 CET 2001
Wolfgang Lipp wrote:
>
...
Ok, I know what happened:
I moved the uthrread ticker stuff at the low end of
ticker handling, in order to make the more urgent
things happen earlier -- but forgot that by this
the real ticker is already reset, andmy uthread ticker
gets no feed at all.
The patch is quite trivial: Count erla, but switch
a bit later. Will do it soon, today I'm to tired.
If somebody cares to do that - it *is* easy.
Between lines 754 and 802.
Line 757 says
tstate->ticker = tstate->interp->checkinterval;
and that resets the tickery.
In 1.5.2,I had the uthread stuff before this line.
In 2.0, I moved it down, without thought and good testing.
Is anybody fast enough to sketch a good approach before Sunday?
I might make it :-)
good nite - chris
--
Christian Tismer :^) <mailto:tismer at tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Kaunstr. 26 : *Starship* http://starship.python.net
14163 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
where do you want to jump today? http://www.stackless.com
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless
More information about the Stackless
mailing list