std::unique_lock::unlock — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
Déverrouille 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.
std::system_error est levée 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.
Paramètres
(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.
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.
Exceptions
Toutes les exceptions levées par
mutex()->unlock()Original:
Any exceptions thrown by
mutex()->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_permitted
Original:
If there is no associated mutex, std::system_error with an error code of std::errc::operation_not_permitted
The 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_occur
Original:
If the mutex is not locked, std::system_error with an error code of std::errc::resource_deadlock_would_occur
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exemple
Voir aussi
| locks the associated mutex (fonction membre publique) [edit] | |
dissocie le mutex associé sans le déverrouiller Original: disassociates the associated mutex without unlocking it The text has been machine-translated via Google Translate. (fonction membre publique) [edit] | |