vibe.d beta banner
get vibe.d
0.7.31

Class InterruptibleTaskCondition

Alternative to TaskCondition that supports interruption.

class InterruptibleTaskCondition;

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

See TaskCondition for an example.

Constructors

Constructors

NameDescription
this
this

Properties

Properties

NameTypeDescription
mutex[get]Lockable

Methods

Methods

NameDescription
notify
notifyAll
wait
wait

Notice

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

See Also

TaskCondition

Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.