cnd_broadcast
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_broadcast( cnd_t *cond ); |
(depuis C11) | |
Débloque tous les fils qui sont actuellement attendre sur la variable de condition pointé par
cond. Si aucun thread n'est bloqué, ne fait rien et renvoie thrd_success .Original:
Unblocks all thread that currently wait 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 une thread bloqué sur une variable de condition Original: unblocks one thread 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) |