H1 2015 Priorities and Bare-Metal Programming
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 1 21:18:47 PST 2015
On 2/1/2015 8:35 PM, Mike wrote:
> I'm with you, but if the runtime port only supports a single
> thread, I don't want to force users of my libraries to have to
> decorate their state with __gshared, as it's redundant. They
> should be able to use the idiomatic D they see in D's learning
> material. Perhaps I can solve this in my runtime implementation
> and/or linker scripts, but I need to study the implementation
> more.
Another problem I forgot to mention is someone would inevitably try to link
together a single thread build with a multi thread build, and then would be
flummoxed by the problems it caused.
Just go with __gshared.
More information about the Digitalmars-d
mailing list