vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

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

NameDescription
this ()

Methods

NameDescription
lock ()
tryLock ()
unlock ()

See Also

RecursiveTaskMutex, InterruptibleTaskMutex

Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2019 Sönke Ludwig

License

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