Function with_barriers

Source
pub fn with_barriers<T, F>(f: F) -> T
where F: FnOnce() -> T,
Expand description

Execute a closure with memory barriers before and after