Hello,
So far I am loving stackless python! I am totally new to it though and was
wondering about having tasklets wait for a certain amount of time.
The problem is:
I would like to have a tasklet wait for 2 seconds before returning to the
scheduling queue, but not delay any other running tasklets.
What I have done:
timeStart = time.time()
while (time.time() < timeStart + 2):
stackless.schedule()
But this way does waste resources every scheduling cycle. Is there a better
way to do this?
Thanks,
Jeremy.
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless