X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fuatomic-api.md;h=9dd0c1c18ee5d1bd2e5c80f95b9b66edc3cf800e;hp=84b97166cef4c2ec81cdf61734eb6f2d1d5fe6b1;hb=HEAD;hpb=d001c88633f6a58e94eb73f4814976d13f61bd77 diff --git a/doc/uatomic-api.md b/doc/uatomic-api.md index 84b9716..6421708 100644 --- a/doc/uatomic-api.md +++ b/doc/uatomic-api.md @@ -58,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