static this () executed multiple times

Martin Drasar drasar at ics.muni.cz
Mon Sep 30 09:26:47 PDT 2013


On 30.9.2013 18:12, Adam D. Ruppe wrote:
> Is your program using threads? I believe static this is run once per
> thread, with shared static this being the once per program one.

Yup, that did the trick. Thanks.

Martin


More information about the Digitalmars-d-learn mailing list