X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fuatomic-api.md;h=9dd0c1c18ee5d1bd2e5c80f95b9b66edc3cf800e;hp=0962399d78292b7959c606b131903b1b35f66aee;hb=HEAD;hpb=0474164f90ea2af6ca30f1dcb88ccaf083004b52 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