DoxigAlpha

store

Function parameters

Parameters

#
self:*Self
value:T

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 store(self: *Self, value: T, comptime order: AtomicOrder) void {
    @atomicStore(T, &self.raw, value, order);
}