On Jul 23, 2013, at 12:25 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:



On Mon, Jul 22, 2013 at 1:58 PM, St�phane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi guys

I'm trying to explain the following sentence (I wrote long time ago) and now I'm stuck

"escaping blocks jump to their home contexts but do not unwind the stack after this point"

Seems wrong to me.  ^-returns in blocks return to the sender of the home context.

Yes I thought so too. I will remove this sentence because it is blurry and wrong. I thought I was wrong. 
 
especially I'm not clear anymore on the unwind the stack.

The stack is unwound either by the VM executing the ^-return or by MethodCOntext>>#return:, sent from #aboutToReturn:to: if the ^-return found an intervening unwind context.  (The VM sends aboutToReturn:to:).

Thanks 
what is a intervening unwind context?

 

HTH
Eliot


Stef



--
best,
Eliot