What exactly shared means?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 3 07:56:52 PST 2015


On Saturday, 3 January 2015 at 13:53:09 UTC, John Colvin wrote:
> I think you're talking cross-purposes. thread-local as in TLS 
> v.s. thread-local as in not-shared.

I am not talking TLS. TLS is related to object files, not types. 
You don't have shared vs non-shared. You have many different 
relevant situations:

- no other reader or writer
- no other writer
- not shared now, but later
- unknown
- always shared
++


More information about the Digitalmars-d-learn mailing list