Method lrs::sync::RawCondvar::signal

Wakes a number of threads waiting on this condvar.

Syntax

impl RawCondvar {
    fn signal(&self, n: usize) -> ()
}

Arguments

NameDescription
n

The number of threads to be woken.

Remarks

It's possible that fewer than n threads are woken because fewer than n threads are currently waiting on this condvar.