vibe.d beta banner
get vibe.d
0.7.30

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

Inherits from

Constructors

Name Description
this

Methods

Name Description
lock
tryLock
unlock
tryLock
unlock

See Also

TaskMutex, InterruptibleRecursiveTaskMutex

Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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