Microthreads is now available

Will Ware wware at world.std.com
Tue Mar 28 19:56:48 EST 2000


With Chris Tismer's release of Stackless Python 1.1 and
Continuations 0.8, Python Microthreads are Now Available
to the General Python-Consuming Public. Microthreads are
useful when you want to program many behaviors happening
simultaneously. Simulations and games often want to model
the simultaneous and independent behavior of many people,
many businesses, many monsters, many physical objects, many
spaceships, and so forth. With microthreads, you can code
these behaviors as Python functions. You only need to think
a teeny bit about the fact that context switching occurs
between threads. There are also handy conveniences roughly
analogous to what you'd find in a real-time operating system
like PSOS or VxWorks.

Once you a working Stackless Python 1.1 build, all you need
is to fetch this file and put it anywhere in your PYTHONPATH:
ftp://ftp.std.com/pub/wware/uthread.py

If you want a collection of test cases, roughly corresponding
to the examples in the manual, pick up:
ftp://ftp.std.com/pub/wware/u1.py

The Microthreads Manual resides at:
http://world.std.com/~wware/uthread.html

Information about Stackless Python and Continuations is available
at:
http://www.stackless.com/

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



More information about the Python-list mailing list