projects
/
platform
/
upstream
/
libatomic_ops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9aed2d
)
Add comment to AO_nop_write in ordered_except_wr.h
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 23 Oct 2012 03:23:39 +0000
(07:23 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 23 Oct 2012 08:24:22 +0000
(12:24 +0400)
* src/atomic_ops/sysdeps/ordered_except_wr.h (AO_nop_write): Add
comment (to outline that the implementation matches that of
AO_nop_read).
src/atomic_ops/sysdeps/ordered_except_wr.h
patch
|
blob
|
history
diff --git
a/src/atomic_ops/sysdeps/ordered_except_wr.h
b/src/atomic_ops/sysdeps/ordered_except_wr.h
index
da8b13a
..
1e7cb7b
100644
(file)
--- a/
src/atomic_ops/sysdeps/ordered_except_wr.h
+++ b/
src/atomic_ops/sysdeps/ordered_except_wr.h
@@
-32,6
+32,7
@@
AO_INLINE void
AO_nop_write(void)
{
+ /* AO_nop_write implementation is the same as of AO_nop_read. */
AO_compiler_barrier();
/* sfence according to Intel docs. Pentium 3 and up. */
/* Unnecessary for cached accesses? */