X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fuatomic-api.md;h=642170857a1e2a4d260267c10b5dcf6892ebb5b7;hb=d18544842bdfbf2cba6c194a8e8d305ddf5e295e;hp=84b97166cef4c2ec81cdf61734eb6f2d1d5fe6b1;hpb=72d24c88ee075c8368fe57ee7e8fc66d99ce7e39;p=userspace-rcu.git 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