pub unsafe fn aws_atomic_fetch_xor(var: *mut AwsCAtomicVar, n: usize) -> usize
Expand description
Atomically XORs n
into *var
, and returns the previous value of *var
.
Uses sequentially consistent ordering.
Safety
The caller must ensure that the AwsCAtomicVar
pointer is valid.