[Stackless] stacklessocket with threads, and stacklessfile
tim at metaweb.com
Thu Aug 9 02:16:48 CEST 2007
>> ... the I/O pump invokes [select()] with a short timeout
>> so that other tasklets get serviced.
> If there are other runnable tasklets ... [or] ... tasklets that want to
> wake up in the future, invoke select() with the appropriate timeout.
Ah. That would fix it. I wanted to
do something like this but couldn't
find how to examine the runnable queue.
Is there any good documentation for this aspect
> That's how my example works:
I'll definitely take a look.
BTW, you mentioned your code worked with
files? I thought select()/poll() didn't
work correctly for files. Don't they always
return "ready" for any check on a file,
regardless of the actual I/O state?
Stackless mailing list
Stackless at stackless.com
More information about the Stackless