DoxigAlpha

load

Function parameters

Parameters

#
self:*const Self

Functions in this namespace

Functions

#
spinLoopHint
Signals to the processor that the caller is inside a busy-wait spin-loop.

The estimated size of the CPU's cache line when atomically updating memory.

Values

#
cache_line
The estimated size of the CPU's cache line when atomically updating memory.

Source

Implementation

#
pub inline fn load(self: *const Self, comptime order: AtomicOrder) T {
    return @atomicLoad(T, &self.raw, order);
}