- 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.
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.