Add comment to AO_nop_write in ordered_except_wr.h
authorIvan Maidanski <ivmai@mail.ru>
Tue, 23 Oct 2012 03:23:39 +0000 (07:23 +0400)
committerIvan 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

index da8b13a..1e7cb7b 100644 (file)
@@ -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?                   */