vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

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

NameDescription
this (mutex)

Properties

NameTypeDescription
mutex[get] Lockable

Methods

NameDescription
notify ()
notifyAll ()
wait ()
wait (timeout)

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-2019 Sönke Ludwig

License

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