Function spirv_std::arch::atomic_store

source ·
pub unsafe fn atomic_store<N: Number, const SCOPE: u32, const SEMANTICS: u32>(
    ptr: &mut N,
    value: N
)
Expand description

Atomically store through ptr using the given SEMANTICS. All subparts of value are written atomically with respect to all other atomic accesses to it within SCOPE.