Method lrs::atomic::AtomicU64::xor_weak

Performs a binary xor operation on the atomic integer with relaxed ordering guarantees.

Syntax

impl AtomicU64 {
    fn xor_weak(&self, val: u64) -> u64
}

Arguments

NameDescription
val

The value that will be binarily xor'd to the integer.

Return value

Returns the old value.