pub fn atomically<T, F>(f: F) -> T
Expand description
Run a function atomically by using Software Transactional Memory.
It calls to Transaction::with
internally, but is more explicit.
pub fn atomically<T, F>(f: F) -> T
Run a function atomically by using Software Transactional Memory.
It calls to Transaction::with
internally, but is more explicit.