[c++-pthreads] Memory model for multithreaded C++
Alexander Terekhov
boo at terekhov.de
Fri Sep 17 13:24:03 UTC 2004
< Forward Inline >
-------- Original Message --------
Newsgroups: comp.programming.threads
Subject: Re: C++ support for threads
Date: Fri, 17 Sep 2004 15:13:00 +0200
Message-ID: <414AE2DC.11DD838 at web.de>
References: <414ADC33.874AAFFE at xemaps.com>
Joe Seigh wrote:
>
> It looks like there is some movement to support threads in C++ according
> to this link from a discussion on it in c.l.c++.m.
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1680.pdf
They better stay out of volatile mess. atomic<> "intrinsic" is the
way to go. There's no need to "revise" C/C++ volatiles. Java's
volatiles imply more constraints than acquire-on-read and release-
on-write. BTW, Dinkum is pushing Boost.Thread (like) interface:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1682.html
They better first incorporate pthread.h as <cthread>...
http://groups.google.com/groups?selm=412533CA.82703A04%40web.de
is the next step.
regards,
alexander.
More information about the c++-pthreads
mailing list