shared - no read/write access
Stefan Koch
uplink.coder at googlemail.com
Tue Mar 26 10:12:36 UTC 2019
On Tuesday, 26 March 2019 at 08:34:33 UTC, Kagamin wrote:
> On Monday, 25 March 2019 at 10:39:06 UTC, Stefan Koch wrote:
>> How can I distinguish in the type-system if I get a pointer
>> which others may, write to at the same time?
>
> Qualified as shared, like anything that's not thread local.
Okay, so a shared variable may change at any time.
Is it safe to read or write it then?
More information about the Digitalmars-d
mailing list