[cpp-threads] Re: Weak vs Strong Atomics
Peter Dimov
pdimov at mmltd.net
Fri May 4 21:37:50 BST 2007
Roger Orr wrote in message c++std-ext-9535:
> My goal is simply to make passing a strong atomic to a function
> expecting a weak one a bit more explicit, both for the writer and
> for the maintainer.
How does this differ from passing a weak atomic to a function expecting a
strong one?
Both scenarios lead to one portion of code seeing a weak atomic and another
seeing a strong atomic at the same memory location.
More information about the cpp-threads
mailing list