A condition variable to wait on locks.
struct RawCondvar {
/* private fields */
}| Receiver | Name | Description |
|---|---|---|
&self | signal | Wakes a number of threads waiting on this condvar. |
&self | wait | Atomically unlocks a lock guard and waits for a signal on this condvar before re-locking the lock. |
&self | wait2 | Atomically unlocks a lock guard and waits for a signal on this condvar. |
This implementation cannot be used for inter-process synchronization.