Skip to main content

std_mutex

Macro std_mutex 

Source
macro_rules! std_mutex {
    ($e:expr) => { ... };
}
Expand description

Wraps an expression in a std::sync::Mutex::new(). Standard blocking mutex for non-async logic or very short critical sections.