InterruptibleTaskMutex

Alternative to TaskMutex that supports interruption.

This class supports the use of vibe.core.task.Task.interrupt() while waiting in the lock() method. However, because the interface is not nothrow, it cannot be used as an object monitor.

final
class InterruptibleTaskMutex : Lockable {}

Constructors

this
this()
Undocumented in source.

Members

Functions

lock
void lock()
Undocumented in source. Be warned that the author may not have intended to support it.
tryLock
bool tryLock()
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
void unlock()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Lockable

lock
void lock()
Undocumented in source.
unlock
void unlock()
Undocumented in source.
tryLock
bool tryLock()
Undocumented in source.

See Also

Meta