mtx_unlock
Da cppreference.com.
|
|
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. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <threads.h>
|
||
int mtx_unlock( mtx_t *mutex ); |
(dal C11) | |
Sblocca il mutex puntato da
mutex. Original:
Unlocks the mutex pointed to by
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.
Il comportamento è indefinito se il mutex non è bloccato dal thread chiamante.
Original:
The behavior is undefined if the mutex is not locked by the calling thread.
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.
Parametri
| mutex | - | puntatore al mutex da sbloccare
Original: pointer to the mutex to unlock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valore di ritorno
thrd_success caso di successo, altrimenti thrd_error.Original:
thrd_success if successful, thrd_error otherwise.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.
Vedi anche
(C11) |
blocchi fino a bloccare un mutex Original: blocks until locks a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
(C11) |
blocchi fino a quando si blocca un mutex o timeout Original: blocks until locks a mutex or times out The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |
(C11) |
blocca un mutex o ritorni senza bloccare, se già bloccata Original: locks a mutex or returns without blocking if already locked The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) |