std::sync::MUTEX_INIT
[−]
[src]
pub const MUTEX_INIT: StaticMutex=
StaticMutex::new()
Deprecated since 1.10.0
: the lazy-static crate suffices for static sync primitives and eventually this type shouldn't be necessary as Mutex::new
in a static should suffice
Unstable (
static_mutex
#27717): the lazy-static crate suffices for static sync primitives and eventually this type shouldn't be necessary as Mutex::new
in a static should suffice
Static initialization of a mutex. This constant can be used to initialize other mutex constants.