[gambit-list] Multithreading

Álvaro Castro-Castilla alvaro.castro.castilla at gmail.com
Fri Dec 21 07:03:32 EST 2012


Thanks Mikael.

Is that available in 4.6.6 or git HEAD?
Is there any example code of this? Is it done with C base code spawning the
different instances in different threads?

Yes, that next step is what would greatly improve the situation regarding
multithreading :)

Best regards,

Álvaro



On Fri, Dec 21, 2012 at 12:54 PM, Mikael <mikael.rcv at gmail.com> wrote:

> Alvaro,
>
> There's two levels to this. There is the support to run several GVM
> instances - as in separate Gambits with completely separate heaps - within
> one OS process, since this spring.
>
> The SMP support - as in, >=1 OS threads utilized by the same one GVM and
> heap, is the next step. This will be great when it comes out and I
> completely share your interest in knowing about the current plans for it.
>
> Best regards,
> Mikael
>
> 2012/12/21 Álvaro Castro-Castilla <alvaro.castro.castilla at gmail.com>
>
>> Hi!
>>
>> Ok, I know this has been asked before.
>>
>> What are the perspectives of Gambit supporting native threading?
>>
>> I remember that Marc made some tests to see how much the code performance
>> would be affected due to global variables access indirection. However,
>> native threading, at least basic facilities, are a must for programming
>> languagues nowadays. Termite, IPC or network can't be really used for
>> things like games.
>>
>> I think this is a hard problem, of course, and if I would be of any help
>> I'd like to, although I don't have much experience implementing compilers
>> myself.
>>
>> Thanks,
>>
>> Álvaro
>>
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list at iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20121221/261ad9c0/attachment.htm>


More information about the Gambit-list mailing list