Class InterruptibleTaskCondition
Alternative to TaskCondition
that supports interruption.
class InterruptibleTaskCondition
;
This class supports the use of Task
while
waiting in the wait()
method.
See TaskCondition
for an example.
Constructors
Name | Description |
---|---|
this
(mutex)
|
|
this
(mutex)
|
Properties
Name | Type | Description |
---|---|---|
mutex [get]
|
Lockable | |
mutex [get]
|
shared(Lockable) |
Methods
Name | Description |
---|---|
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.