Mutex.unlock_nothrow

Decrements the internal lock count by one. If this brings the count to zero, the lock is released.

Note: Mutex.unlock does not throw, but a class derived from Mutex can throw. Use unlock_nothrow in nothrow @nogc code.

  1. void unlock()
  2. void unlock()
  3. void unlock_nothrow()
    class Mutex
    final nothrow @trusted @nogc
    void
    unlock_nothrow
    (
    this Q
    )
    ()
    if (
    is(Q == Mutex) ||
    is(Q == shared Mutex)
    )
Suggestion Box / Bug Report