[Stackless] PyCon 2011 Talk Acceptence and Questions on Greenlets
Andrew Francis
andrewfr_ice at yahoo.com
Sun Jan 16 02:58:44 CET 2011
Hi Richard:
Message: 2
Date: Fri, 14 Jan 2011 11:15:50 +0800
From: Richard Tew <richard.m.tew at gmail.com>
To: The Stackless Python Mailing List <stackless at stackless.com>
Subject: Re: [Stackless] PyCon 2011 Talk Acceptence and Questions on
Greenlets
Message-ID:
<AANLkTi=86cH47fY7sYBdi5TkutM9HTBm8UxCX8Gxy_N1 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
>Think of soft switching like getting the Python interpreter to switch
>what Python code it is executing. And hard switching like getting the
>processor the Python interpreter is running on to switch what assembly
>instructions it is executing. For the former, you much around with
>ceval and Python frames. For the latter you just put new values into
>the PC and SP registers - it is that simple.
>I hope that clears up the misconception you have above.
Thanks for clear explanation. On my front, I am going through the code and stepping through it with a debugger. I am sort of having fun.
Cheers,
Andrew
More information about the Stackless
mailing list