On 05/15/2015 10:22 AM, Torvald Riegel wrote:
This patch improves the documentation of the built-ins for atomic
operations.
First, to be consistent with the C++11 standard and make it easier for
users to relate the built-ins to the C++11 specification, the patch
changes 'memory model' to 'memory order'. The memory model is the whole
thing, whereas memory orders are specific classes ordering requirements
that an atomic operations are parametrized by.
Second, the patch clarifies that the descriptions of the memory orders
are for illustrative purposes only, and adds illustrative descriptions
that are less incorrect and incomplete than what we had before. There
is no way we can precisely summarize the C++ memory model in the docs,
and there isn't really a need either.
OK for trunk?
2015-05-15 Torvald Riegel <trie...@redhat.com>
* doc/extend.texi (__atomic Builtins): Use 'memory order' instead of
'memory model' to align with C++11; fix description of memory orders;
fix a few typos.
OK. Please install.
jeff