[pypy-dev] Question on Hard Switching and Soft Switching
Andrew Francis
andrewfr_ice at yahoo.com
Tue Sep 29 18:34:19 CEST 2009
Hi Folks:
As a part of an up-coming talk, I have been reading more about that happens under the hood. For instance "The Essentials of Stackless Python."
The terms 'hard switching' and 'soft switching' constantly appear. 'Soft' switching is defined as cooperating switching. I will assume this is associated with a 'stackless.schedule()' or a blocked on channel.
Hard switching is defined as brute-force. However what is brute-force? Is this when Stackless is in pre-emptive mode and one is relying on the ticks?
Cheers,
Andrew
More information about the Pypy-dev
mailing list