[cpp-threads]atomic operations package
Alexander Terekhov
alexander.terekhov at gmail.com
Mon Aug 22 19:02:56 BST 2005
On 8/22/05, Hans Boehm <Hans.Boehm at hp.com> wrote:
[...]
> > http://blogs.sun.com/roller/page/pgdh?entry=caring_for_the_environment_making
> >
> I don't understand the problem here. The code there contains another
> instance of broken double-checked locking. The only use of a memory
> barrier I see could easily be translated to our current proposal.
I don't think so. Intentional leaking (together with real GC or
hazards) aside for a moment, Phil Harman is driving at atomic<>ized
Andrei's WRRMMap, I think.
http://groups.google.com/group/comp.std.c++/msg/3d48651534c866f8
How would you translate it to the current proposal?
regards,
alexander.
More information about the cpp-threads
mailing list