D threading and shared variables

Kagamin spam at here.lot
Mon Apr 8 12:04:08 UTC 2019


On Sunday, 7 April 2019 at 14:49:20 UTC, Archie Allison wrote:
> The codebase is a reasonable size so too big (and proprietary) 
> to share.

You can reduce it to a minimal example that doesn't work. Static 
variables are thread local by default in D unless they are marked 
as shared or __gshared.


More information about the Digitalmars-d-learn mailing list