vibe.d beta banner
get vibe.d
0.10.1

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)
this (mutex)

Properties

NameTypeDescription
mutex[get] Lockable
mutex[get] shared(Lockable)

Methods

NameDescription
notify ()
notify ()
notifyAll ()
notifyAll ()
wait ()
wait (timeout)
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.