ConditionVariable
struct ConditionVariable {
}
- this
this(int dummy)
Initializes a condition variable.
A destructor is present on this object, but not explicitly documented in the source.
- notifyAll
void notifyAll()
- notifyOne
void notifyOne()
- wait
void wait(UncheckedMutex* assocMutex)
Wait until notified. The associated mutex should always be the same for this condition variable.
This struct represents a condition variable as conceived by C.A.R. Hoare. As per Mesa type monitors however, "signal" has been replaced with "notify" to indicate that control is not transferred to the waiter when a notification is sent.