pub fn new() -> Condvar {
        Condvar {
            inner: Box::new(StaticCondvar {
                inner: sys::Condvar::new(),
                mutex: AtomicUsize::new(0),
            })
        }
    }
/// Creates a new condition variable which is ready to be waited on and
/// notified.
Creates a new condition variable which is ready to be waited on and
notified.
Creates a new condition variable which is ready to be waited on and notified .
pub fn new() -> Condvar {
        Condvar {
            inner: Box::new(StaticCondvar {
                inner: sys::Condvar::new(),
                mutex: AtomicUsize::new(0),
            })
        }
    }
pub fn new ( ) -> Condvar { Condvar { inner : Box :: new ( StaticCondvar { inner : sys :: Condvar :: new ( ) , mutex : AtomicUsize :: new ( 0 ) , } ) } }
Creates a new condition variable which is ready to be waited on and
notified.
Creates a new condition variable which is ready to be waited on and notified .