[Vm-dev] Re: [squeak-dev] Bug whith contextOn:do:
Tobias Pape
Das.Linux at gmx.de
Wed Apr 1 16:49:57 UTC 2015
On 01.04.2015, at 18:37, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> On Wed, Apr 1, 2015 at 6:27 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 31.03.2015, at 23:10, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>
>> I'm not sure the other ways are any better. The way to transfer to a context without disturbing its stack is to do a process switch.
>> [...]
>> One of the advantages the process switch versions have is in not updating the receiving context sp there's a chance the context-to-stack mapping machinery won't flush the context to the heap. In the end it might actually be faster.
>
> I would find it very surprising if #jump would result in the execution continuing in a different process.
>
> That's not what they do. Instead they spawn another process to position the process in which we want to jump correctly.
We don't want to jump to a process but within a process, like a goto…
What about thread/process-local variables?
Best
-Tobias
More information about the Squeak-dev
mailing list
|