std::sync::MUTEX_INIT [] [src]

pub const MUTEX_INIT: StaticMutex = StaticMutex {
    lock: sys::MUTEX_INIT,
    poison: poison::FLAG_INIT,
}
Unstable

: may be merged with Mutex in the future

Static initialization of a mutex. This constant can be used to initialize other mutex constants.