std::unique_lock::unlock
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> void unlock(); |
( C++11) | |
.
std::system_error , , .
:
std::system_error is thrown if there is no associated mutex or if the mutex is not locked.
()
()
- ,
mutex()->unlock()
- , std::system_error std::errc::operation_not_permitted:If there is no associated mutex, std::system_error with an error code of std::errc::operation_not_permitted
- , std::system_error std::errc::resource_deadlock_would_occur:If the mutex is not locked, std::system_error with an error code of std::errc::resource_deadlock_would_occur
| : |
.
| locks the associated mutex (public -) | |
(public -) |