std::unique_lock::unlock
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> void unlock(); |
(seit C++11) | |
Entsperrt die zugehörige Mutex .
Original:
Unlocks the associated mutex.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::system_error wird ausgelöst, wenn es keine zugeordnete Mutex oder wenn der Mutex nicht gesperrt ist .
Original:
std::system_error is thrown if there is no associated mutex or if the mutex is not locked.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Rückgabewert
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Ausnahmen
- Etwaige Ausnahmen von
mutex()->unlock()geworfenOriginal:Any exceptions thrown bymutex()->unlock()The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- Wenn es keine zugehörige Mutex std::system_error mit einem Fehlercode std::errc::operation_not_permittedOriginal:If there is no associated mutex, std::system_error with an error code of std::errc::operation_not_permittedThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- Wenn der Mutex nicht gesperrt ist, std::system_error mit einem Fehlercode std::errc::resource_deadlock_would_occurOriginal:If the mutex is not locked, std::system_error with an error code of std::errc::resource_deadlock_would_occurThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
| locks the associated mutex (öffentliche Elementfunktion) | |
distanziert die zugehörige Mutex ohne entsperren Original: disassociates the associated mutex without unlocking it The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |