std::unique_lock::unlock
De 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(); |
(depuis C++11) | |
Dverrouille le mutex associ .
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 est leve si il n'y a pas mutex associ ou si le mutex n'est pas verrouill .
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.
Paramtres
(Aucun)
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.
Retourne la valeur
(Aucun)
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.
Exceptions
- Toutes les exceptions leves par
mutex()->unlock()Original: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.
- S'il n'y a pas associ mutex, std::system_error avec un code d'erreur 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.
- Si le mutex n'est pas verrouill, std::system_error avec un code d'erreur 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.
Exemple
| This section is incomplete Reason: no example |
Voir aussi
| locks the associated mutex (fonction membre publique) | |
dissocie le mutex associ sans le dverrouiller 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. (fonction membre publique) | |