cnd_signal
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 cnd_signal( cnd_t *cond ); |
(depuis C11) | |
Débloque un thread qui attend actuellement sur la variable de condition pointé par
cond. Si aucun thread n'est bloqué, ne fait rien et renvoie thrd_success .Original:
Unblocks one thread that currently waits on condition variable pointed to by
cond. If no threads are blocked, does nothing and returns thrd_success.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
| cond | - | pointeur vers une variable de condition
Original: pointer to a condition variable 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) |
débloque tous les threads bloqués sur une variable de condition Original: unblocks all threads blocked on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |