std::unique_lock::unlock
Da cppreference.com.
< cpp | thread | unique lock
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
void unlock(); |
(dal C++11) | |
Sblocca il mutex associato.
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 viene generata se non c'è mutex associato o se il mutex non è bloccato.
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.
Indice |
[modifica] Parametri
(Nessuno)
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.
[modifica] Valore di ritorno
(Nessuno)
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.
[modifica] Eccezioni
- Eventuali eccezioni generate dal 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.
- Se non vi è associato mutex, std::system_error con un codice di errore di 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.
- Se il mutex non è bloccato, std::system_error con un codice di errore di 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.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
locks the associated mutex (metodo pubblico) | |
dissocia il mutex associato senza sbloccarlo 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. (metodo pubblico) |