InterruptibleTaskCondition

Alternative to TaskCondition that supports interruption.

This class supports the use of vibe.core.task.Task.interrupt() while waiting in the wait() method.

See TaskCondition for an example.

Notice: Note that it is generally not safe to use an InterruptibleTaskCondition together with an interruptible mutex type.

Constructors

this
this(M mutex)
Undocumented in source.

Members

Functions

notify
void notify()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyAll
void notifyAll()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
void wait()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
bool wait(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

mutex
Lockable mutex [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

TaskCondition

Meta