std::unique_lock::unlock

void unlock();
(since C++11)

Unlocks the associated mutex and releases ownership.

std::system_error is thrown if there is no associated mutex or if the mutex is not locked.

Parameters

(none).

Return value

(none).

Exceptions

Example

See also

locks the associated mutex
(public member function)
disassociates the associated mutex without unlocking it
(public member function)
doc_CPP
2016-10-11 10:07:44
Comments
Leave a Comment

Please login to continue.