pub fn memory_barrier<T>(ptr: *const T)
Expand description

Require that accesses to behind the given pointer before the memory barrier don’t get optimized away or reordered to after the memory barrier.