summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2019-03-13 11:34:22 +0300
committerIvan Maidanski <ivmai@mail.ru>2019-03-13 11:34:22 +0300
commit28572e3d2ed9fee564199582ac0f992f3c6c35dd (patch)
tree50d09ed157b4ce24167dd58c8ea40444d4dfeed7
parentbccdeba503e79b20d1333584cbf743558f56c0f0 (diff)
downloadlibatomic_ops-28572e3d2ed9fee564199582ac0f992f3c6c35dd.tar.gz
Remove outdated notes in README_details
* doc/README_details.txt: Remove notes that work is in progress; mention that many operation have size variants, not few; remove note that no good reason to provide operations on standard int types.
-rw-r--r--doc/README_details.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/doc/README_details.txt b/doc/README_details.txt
index 3eb7662..cc9f94e 100644
--- a/doc/README_details.txt
+++ b/doc/README_details.txt
@@ -48,9 +48,7 @@ to use. Current real implementations appear to be much better behaved.)
We of course are in no position to guarantee that future processors
(even HPs) will continue to behave this way, though we hope they will.
-This is a work in progress. Corrections/additions for other platforms are
-greatly appreciated. It passes rudimentary tests on X86, Itanium, and
-Alpha.
+Corrections/additions for other platforms are greatly appreciated.
OPERATIONS:
@@ -62,16 +60,13 @@ are:
supports with good performance. In some cases this is the length of a cache
line. In some cases it is a byte. In many cases it is equivalent to AO_t.
-- A few operations are implemented on smaller or larger size integers.
+- Most operations are also implemented on smaller size integers.
Such operations are indicated by the appropriate prefix:
AO_char_... Operates on unsigned char values.
AO_short_... Operates on unsigned short values.
AO_int_... Operates on unsigned int values.
-(Currently a very limited selection of these is implemented. We're
-working on it.)
-
The defined operations are all of the form AO_[<size>_]<op><barrier>(<args>).
The <op> component specifies an atomic memory operation. It may be
@@ -229,10 +224,6 @@ constraints, and if and how we can guarantee sequential consistency.
Dd_acquire_read is very hard or impossible to define in a way that cannot
be invalidated by reasonably standard compiler transformations.
-There is probably no good reason to provide operations on standard
-integer types, since those may have the wrong alignment constraints.
-
-
Example:
If you want to initialize an object, and then "publish" a pointer to it