help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk
Date: Thu, 09 Jun 2011 11:22:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/09/2011 11:05 AM, Gwenael Casaccio wrote:

I think that's the right way but I want your opinion on the changes.
I plan to fix the multiple worlds support by :
  - fix the world swapping crash :)
  - see the impact on the vm (semaphore/events/...)
  - introducing a model for the worlds
  - the scheduling could be time shared for the worlds (Paolo what do
you think)?

Why not parallel? M worlds == M threads, with inter-world synchronization primitives. Windows events look like a feasible model to use for synchronization primitives where you can wait for either any or all of N events to become signaled. Or Erlang-like channels too.

How do you plan to move objects across worlds?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]