Hello,<br><br>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.<br><br>The problem is:<br>I would like to have a tasklet wait for 2 seconds before returning to the scheduling queue, but not delay any other running tasklets.<br>
<br>What I have done:<br><span style="font-family: courier new,monospace;">timeStart = time.time()</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">while (time.time() &lt; timeStart + 2):</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    stackless.schedule()</span><br style="font-family: courier new,monospace;"><br>But this way does waste resources every scheduling cycle. Is there a better way to do this?<br>
<br>Thanks,<br><br>Jeremy.<br>