pub fn new() -> StaticMutex {
        StaticMutex {
            lock: sys::Mutex::new(),
            poison: poison::Flag::new(),
        }
    }
/// Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use .
pub fn new() -> StaticMutex {
        StaticMutex {
            lock: sys::Mutex::new(),
            poison: poison::Flag::new(),
        }
    }
pub fn new ( ) -> StaticMutex { StaticMutex { lock : sys :: Mutex :: new ( ) , poison : poison :: Flag :: new ( ) , } }
Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use .