core.sync.condition
The condition module provides a primitive for synchronized condition checking.
Copyright
Copyright Sean Kelly 2005 - 2009.
class Condition
Types 1
classCondition
This class 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.
Methods
void wait()Wait until notified.bool wait( Duration val )Suspends the calling thread until a notification occurs or until the supplied time period has elapsed.bool wait(this Q)( Duration val, bool _unused_ ) if (is(Q == Condition) || is(Q == shared Condition))dittovoid notify()Notifies one waiter.void notifyAll()Notifies all waiters.Constructors
this( M m, bool _unused_ )Destructors