The OpenD Programming Language

Mutex.lock

If this lock is not already held by the caller, the lock is acquired, then the internal counter is incremented by one.

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

  1. void lock()
    class Mutex
    @trusted
    void
    lock
    ()
  2. void lock()
  3. this()
  4. this()

Meta