pub fn _wait(&self) {
        // The condvar might be notified between adding to queue and thread parking.
        // So park current thread before wait queue lock is freed.
        // Avoid racing
        let lock = self.add_to_wait_queue();
        thread::park_action(move || {
            drop(lock);
        });
    }
/// Park current thread and wait for this condvar to be notified.
Park current thread and wait for this condvar to be notified.
Park current thread and wait for this condvar to be notified .
pub fn _wait(&self) {
        // The condvar might be notified between adding to queue and thread parking.
        // So park current thread before wait queue lock is freed.
        // Avoid racing
        let lock = self.add_to_wait_queue();
        thread::park_action(move || {
            drop(lock);
        });
    }
pub fn _wait ( & self ) { // The condvar might be notified between adding to queue and thread parking. // So park current thread before wait queue lock is freed. // Avoid racing let lock = self . add_to_wait_queue ( ) ; thread :: park_action ( move | | { drop ( lock ) ; } ) ; }
Park current thread and wait for this condvar to be notified.
Park current thread and wait for this condvar to be notified .
&self
&self