@atomicStore
@atomicStore
@atomicStore(comptime T: type, ptr: *T, value: T, comptime ordering: builtin.AtomicOrder) void
This builtin function atomically stores a value.
T must be a pointer, a bool, a float, an integer or an enum.
See also:
- @atomicLoad
- @atomicRmw
- @fence
- @cmpxchgWeak
- @cmpxchgStrong
