mtx_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>| Déclaré dans l'en-tête <threads.h>
|
||
int mtx_unlock( mtx_t *mutex ); |
(depuis C11) | |
Déverrouille le mutex pointé par
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.
Le comportement est indéfini si le mutex n'est pas verrouillé par le thread appelant .
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.
Paramètres
| mutex | - | pointeur vers le mutex pour déverrouiller
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. |
Retourne la valeur
thrd_success en cas de succès, thrd_error autrement .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.
Voir aussi
(C11) |
bloque jusqu'à verrouille 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. (fonction) |
(C11) |
bloque jusqu'à verrouille un mutex ou arrive à expiration 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. (fonction) |
(C11) |
verrouille un mutex ou retourne sans bloquer si elle est déjà verrouillé 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. (fonction) |