[Stackless] Singlestepping microthreads

Jacob Gorm Hansen jg at ioi.dk
Sun Sep 2 18:37:44 CEST 2001


Hi,

What is the recommended way of 'single stepping' threads, ie. returning from 
the scheduler after each run of the 'while 1:', instead of looping until all is
done?

I need to run the scheduler from a C++ main loop about 50 times a second, 
instead of just once.

I've modified run() in the scheduler to do this using continuations, but is 
there an offical way?

Best,
Jacob
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless



More information about the Stackless mailing list