Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #484
| From | Alexander Terekhov <terekhov@web.de> |
|---|---|
| Newsgroups | comp.std.c, comp.lang.c, comp.lang.c++, comp.programming.threads |
| Subject | Re: The threading specs in the standard... |
| Date | 2011-08-03 15:50 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <4E395231.CC1B7CD1@web.de> (permalink) |
| References | (11 earlier) <4E21471A.8090703@loria.fr> <j0cfmc$e8b$1@dont-email.me> <4E29D154.ED3B37F9@web.de> <4E2A8B4F.2090503@loria.fr> <4E2B12FD.9DB5D265@web.de> |
Cross-posted to 4 groups.
FYI:
http://www.cl.cam.ac.uk/~pes20/cppppc/top.pdf
("Clarifying and compiling C/C++ concurrency: from C++0x to POWER")
"Abstract
The upcoming C and C++ revised standards add concurrency to
the languages, for the first time, in the form of a subtle relaxed
memory model (the C++0x model). This aims to permit compiler
optimisation and to accommodate the differing relaxed-memory
behaviours of mainstream multiprocessors, combining simple semantics
for most code with high-performance low-level atomics for
concurrency libraries. We make two contributions:
We first establish two simpler but provably equivalent models
for C++0x, one for the full language and another for the subset
without consume operations. Subsetting further to the fragment
without low-level atomics, we identify a subtlety arising from
atomic initialisation.
We then prove our main result, the correctness of a proposed
compilation scheme of the C++0x concurrency primitives
to POWER assembly, having noted that an earlier proposal was
flawed. (The main ideas apply also to ARM, which has a similar
relaxed memory architecture.)
This should inform the ongoing development of production
compilers for C++0x and C1x, clarifies what properties of the
machine architecture are required, and builds confidence in the
C++0x and POWER semantics."
regards,
alexander.
Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread
Re: The threading specs in the standard... Alexander Terekhov <terekhov@web.de> - 2011-08-03 15:50 +0200
csiph-web