Skip to main content

const_mutex

Function const_mutex 

Source
pub const fn const_mutex<T>(val: T) -> Mutex<T>
👎Deprecated:

The parkinglot feature has been renamed parking_lot

Expand description

Creates a new mutex in an unlocked state ready for use.