Low-Lock Singletons In D

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon May 6 14:36:00 PDT 2013


On 5/6/13, Diggory <diggsey at googlemail.com> wrote:
> Although that's only a single-per-thread-ton :P

My bad.

> final abstract class singleton
> {
> __gshared:
>     void foo() { }
>     int f;
> }


More information about the Digitalmars-d mailing list