Skip to content

timed_named_mutex unlock

Alairion edited this page May 8, 2021 · 2 revisions

Functions

(1) void unlock();
  1. Unlocks the mutex.

Parameters

None.

Return value

  1. None.

Preconditions

  1. The calling thread must own the mutex.

Exceptions

  1. Throw a std::runtime_error if the unlock operation fails.

Implementation details

  1. On Windows, calls ReleaseMutex
    On Posix systems, calls pthread_mutex_unlock
Clone this wiki locally