pub const fn const_reentrant_mutex<T>(val: T) -> ReentrantMutex<T>
Expand description
Creates a new reentrant mutex in an unlocked state ready for use.
This allows creating a reentrant mutex in a constant context on stable Rust.
pub const fn const_reentrant_mutex<T>(val: T) -> ReentrantMutex<T>
Creates a new reentrant mutex in an unlocked state ready for use.
This allows creating a reentrant mutex in a constant context on stable Rust.