vibe.d beta banner
get vibe.d
0.7.30

Class InterruptibleRecursiveTaskMutex

Alternative to RecursiveTaskMutex that supports interruption.

class InterruptibleRecursiveTaskMutex
  : Lockable;

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

Constructors

Constructors

NameDescription
this

Methods

Methods

NameDescription
lock
tryLock
unlock

See Also

RecursiveTaskMutex, InterruptibleTaskMutex

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.