Micro-Threads: uthreadsleep.py -- scheduling of uthreads to continue

Will Ware wware at world.std.com
Tue May 23 23:58:43 EDT 2000


> Mike Fletcher wrote:
> > While playing with making a uthreads-based server, I have found the lack of
> > a real-world-time sleeping function somewhat disconcerting...

tismer Kaun (tismer at tismer.com) wrote:
> There is already a couple of enhanced uthread modules. Just v. Rosssum
> did quite a lot of work in order to make his own variant of this, and
> parts are probable to make it back into Will Ware's original module.

Just's most recent version includes real-time-counting versions of the
timer and the snailqueue. I don't think there are any timing functions
left that count context switches, everything is in milliseconds.

> It will be published soon, together with Stackless 1.2.
> Unfrtunately time doesn't permit to do this before Py 1.6 has left alpha
> state.

-- 
 - - - - - - - - - - - - - - - - - - - - - - - -
Resistance is futile. Capacitance is efficacious.
Will Ware	email:    wware @ world.std.com



More information about the Python-list mailing list