uatomic/x86: Remove redundant memory barriers
[urcu.git] / doc / uatomic-api.md
index 0962399d78292b7959c606b131903b1b35f66aee..642170857a1e2a4d260267c10b5dcf6892ebb5b7 100644 (file)
@@ -1,3 +1,9 @@
+<!--
+SPDX-FileCopyrightText: 2023 EfficiOS Inc.
+
+SPDX-License-Identifier: CC-BY-4.0
+-->
+
 Userspace RCU Atomic Operations API
 ===================================
 
@@ -52,7 +58,8 @@ An atomic read-modify-write operation that performs this
 sequence of operations atomically: check if `addr` contains `old`.
 If true, then replace the content of `addr` by `new`. Return the
 value previously contained by `addr`. This function implies a full
-memory barrier before and after the atomic operation.
+memory barrier before and after the atomic operation on success.
+On failure, no memory order is guaranteed.
 
 
 ```c
This page took 0.022241 seconds and 4 git commands to generate.