[Vm-dev] Process>>#resume failed

Rob Withers reefedjib at yahoo.com
Sun Jun 27 21:42:59 UTC 2010


Nevermind this.  I found that I need to send #asContext to the closure I am 
setting as the suspendedContext.

--------------------------------------------------
From: "Rob Withers" <reefedjib at yahoo.com>
Sent: Sunday, June 27, 2010 5:31 PM
To: "Squeak VM Dev" <vm-dev at lists.squeakfoundation.org>
Subject: [Vm-dev] Process>>#resume failed

>
> I am executing this code and the vm is crashing.  This happens with the 
> Squeak v4.1 vm.  The Cog vm walks back with a primitiveResume 
> primitiveFailed.
>
> | proc |
> proc := Process new
> suspendedContext: [
> 10000 factorial.
> Processor terminateActive];
> priority: Processor userSchedulingPriority;
> yourself.
> proc resume.
>
> 


More information about the Vm-dev mailing list