std::mutex::unlock

From Cppreference

Jump to: navigation, search
void unlock();
(since C++11)

Unlocks the mutex.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

[edit] Example

[edit] See also

locks the mutex, blocks if the mutex is not available
(public member function)
tries to lock the mutex, returns if the mutex is not available
(public member function)