Function atomic_utilities::artificial_dep::dependently_mut
[−]
[src]
pub fn dependently_mut<T, R, F: FnOnce(&mut T) -> R>(
val: usize,
myref: &mut T,
myfn: F
) -> R
Ensures that loads from the value myref are ordered after the load of val. Val can be anything convertable to a usize, or any usize calculated from the base load.