[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/thread/unique_lock/unlock [Back]  [Original]

std::unique_lock::unlock cppreference.com
cppreference.com

std::unique_lock::unlock

cppreference.com

<metanoindex/>

 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
(C++11)
(C++20)
(C++20)
this_thread
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++11)( C++20)
(C++11)( C++20)
(C++11)( C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
 
 
<tbody> </tbody>
void unlock();
( C++11)
.
:
Unlocks the associated mutex.
Google.
. .
std::system_error , , .
:
std::system_error is thrown if there is no associated mutex or if the mutex is not locked.
Google.
. .

()

()

  • , mutex()->unlock()
    :
    Any exceptions thrown by mutex()->unlock()
    Google.
    . .

.

locks the associated mutex
(public -) []
:
disassociates the associated mutex without unlocking it
Google.
. .

(public -) []

Web Proxy Viewer  |  New URL  |  Original Page