[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [PATCH] Process>>#isSuspendedInCCall
From: |
Gwenaël Casaccio |
Subject: |
Re: [Help-smalltalk] [PATCH] Process>>#isSuspendedInCCall |
Date: |
Mon, 14 Apr 2014 20:17:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 12/04/2014 11:15, Gwenaël Casaccio wrote:
Hi,
I've added Process>>#isSuspendedInCCall useful when you try
to make the difference between a suspended process and a process
to make a c-call which is reentrant.
Cheers,
Gwen
Don't apply it I've a better implementation not yet finished but here
are the big lines:
In the primitive I get the context (if it's a block I get the method
context in the outer context)
and I set or unset a bit in the flag.
Now I'm not sure the it's not the current context that should be tagged
and not the outer context
but that requires more changes in the vm.
Cheers,
Gwen