[Gambas-devel] Question about singleton class

Benoît Minisini gambas at ...1...
Wed Sep 10 20:41:54 CEST 2014


Le 10/09/2014 20:29, John Leake a écrit :
>>
>> What for? The interpreter is not multi-threaded.
>>
> I am looking for a system wide singleton with guaranteed mutual
> exclusion to any executable written in Gambas.
>

At the moment, you just have the LOCK instruction for that.

-- 
Benoît Minisini




More information about the Devel mailing list