__gshared this()

Manu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 22 01:26:27 PDT 2014


On 22 July 2014 17:47, David Nadlinger via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Tuesday, 22 July 2014 at 07:27:46 UTC, Manu via Digitalmars-d wrote:
>
>> But what I need is:
>>   __gshared this()   // not-thread-local static constructor
>>
>
> "shared static this()" (or the other b way round, can never remember).
>
> Cheers,
> David
>

Oh wow, I'm an idiot. Not sure how I missed that... and I've even used it
before in various occasions!
Sorry for the noise! >_<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140722/910bef82/attachment.html>


More information about the Digitalmars-d mailing list