[Stackless] Stackless and Pyrex efficiently

Kristján Valur Jónsson kristjan at ccpgames.com
Wed Jan 27 12:34:16 CET 2010

If you are doing tasklet switching from C, there is no avoiding the hard switching.
Soft switching is only possible from pure python code.

> -----Original Message-----
> From: stackless-bounces at stackless.com [mailto:stackless-
> bounces at stackless.com] On Behalf Of Péter Szabó
> Sent: 26. janúar 2010 12:08
> To: The Stackless Python Mailing List
> Subject: Re: [Stackless] Stackless and Pyrex efficiently
> > From the api, there is the PyTasklet_Schedule(1), IIRC (but use the
> source!)
> Thanks for the tip, I've found PyStackless_Schedule, which I expect to
> do what I need. However, it will move C stacks around, which I wanted
> to avoid. But let's try it anyway and see how it performs. I'll report
> my results.
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless

More information about the Stackless mailing list