[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-devel
Subject:    Re: [Gambas-devel] Question about singleton class
From:       John Leake <jleake () socit ! co ! uk>
Date:       2014-09-13 20:52:33
Message-ID: 5414AE91.9070908 () socit ! co ! uk
[Download RAW message or body]

>> Or an even better way would be to add a static "Locks" class. This acts like
>> an array for all your locks, so they are always referenced and never closed.
>>
> 
> The attached project shows what I mean. There you have to pay zero attention
> to your lock variables.
> 
Thank you very much. I will use this instead of Extern. This way there
is a better chance that platform independence can me managed more easily.

I still think that all this additional code could be avoided by passing
h by ref ?

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-devel mailing list
Gambas-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic