Dare I ... another volatile discussion ?
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 7 14:41:58 PDT 2015
On 7 May 2015 at 23:39, Iain Buclaw <ibuclaw at gdcproject.org> wrote:
> When used properly though, it's properties make it a prime candidate
> for the foundation of libraries/programs that centre around the use of
> atomics. However, shared is not to be confused with a thread-safe
> atomic type. Thread-safety is left to the end-user on such matters of
> access.
>
That last sentence should also include a mention of memory ordering
too being left to the end-user.
More information about the Digitalmars-d
mailing list