If you are doing tasklet switching from C, there is no avoiding the hard switching. Soft switching is only possible from pure python code. K
> -----Original Message----- > From: [email protected] [mailto:stackless- > [email protected]] 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 > [email protected] > http://www.stackless.com/mailman/listinfo/stackless _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
