std::sync::RW_LOCK_INIT
[−]
[src]
pub const RW_LOCK_INIT: StaticRwLock=StaticRwLock::new()
Deprecated since 1.10.0
: the lazy-static crate suffices for static sync primitives and eventually this type shouldn't be necessary as RwLock::new in a static should suffice
Unstable (
static_rwlock #27717): the lazy-static crate suffices for static sync primitives and eventually this type shouldn't be necessary as RwLock::new in a static should suffice
Constant initialization for a statically-initialized rwlock.