Event

Represents an object you can wait and notify/notifyAll on

Constructors

this
this()

Constructs a new Event

Members

Functions

ensure
void ensure()

Ensures that the calling Thread gets a registered pipe added for it when called.

notify
void notify(Thread thread)

Wakes up a single thread specified

notifyAll
void notifyAll()

Wakes up all threads waiting on this event

wait
void wait()

Wait on this event indefinately

wait
bool wait(Duration duration)

Waits on the event with a given timeout

Meta