[Stackless] continuation module

Christian Tismer tismer at tismer.com
Fri Sep 6 14:36:16 CEST 2002

Sebastien Schertenleib wrote:
> Hi,
> I am currently developping a C++ application where I embed python and I 
> would like to use stackless with the uthread module for the 
> micro-thread management.
> But inside this module (uthread), It must import continuation and I 
> don't have it.
> I have read a thread that was saying the continuation module is 
> built-inside stackless, but I have download the dll directly so I must 
> make some bad mistake when I try to install it.
> Any help would be appreciate.

At the moment, there is no uthread module.
I will provide some surrogate some time later,
but this is rather trivial.
You can emulate almost all using tasklets and channels.
Just import stackless and read the docstrings of the
tasklet type.
They only real lack against uthread is that there is no
automatic scheduling, yet. This is not easy to make
work correctly with extension, therefor I left it out
for a while.

ciao - chris

Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

Stackless mailing list
Stackless at www.tismer.com

More information about the Stackless mailing list