X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fuatomic-api.md;h=642170857a1e2a4d260267c10b5dcf6892ebb5b7;hb=HEAD;hp=0962399d78292b7959c606b131903b1b35f66aee;hpb=0474164f90ea2af6ca30f1dcb88ccaf083004b52;p=urcu.git diff --git a/doc/uatomic-api.md b/doc/uatomic-api.md index 0962399..6421708 100644 --- a/doc/uatomic-api.md +++ b/doc/uatomic-api.md @@ -1,3 +1,9 @@ + + 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