[gambit-list] Native threading with C++?

Raffael Cavallaro raffaelcavallaro at mac.com
Sat Apr 21 10:11:15 EDT 2012


On Apr 20, 2012, at 11:50 PM, Marc Feeley wrote:

> Multiple global environments are useful for creating separate instances of the Gambit VM in the same OS process which do not share the global variables.  This might be useful in a "shared nothing" multithreading model (like Erlang/Termite). But for a shared-memory model (like Multilisp) a shared global environment would be appropriate, with the advantage of no overhead for accessing global variables.

Would those separate VMs run in separate OS threads (which the OS could then schedule on separate cores even if they are running in the same process)? IOW, for many of us, the advantage of multiple VM instances is that they could take advantage of multiple cores. Having multiple VM instances in the same OS process seems, to some of us at least, somewhat less useful.

warmest regards,

Ralph


Raffael Cavallaro
raffaelcavallaro at me.com








More information about the Gambit-list mailing list