Hi Richard:
Message: 2
Date: Fri, 14 Jan 2011 11:15:50 +0800
From: Richard Tew <[email protected]>
To: The Stackless Python Mailing List <[email protected]>
Subject: Re: [Stackless] PyCon 2011 Talk Acceptence and Questions on
Greenlets
Message-ID:
<[email protected]>
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
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless