cnd_broadcast
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 cnd_broadcast( cnd_t *cond ); |
(dal C11) | |
Sblocca tutti i thread che attualmente aspettare condizione variabile puntata da
cond. Se nessun thread sono bloccati, non fa nulla e ritorna 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.
Parametri
| cond | - | puntatore a una variabile di condizione
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. |
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) |
sblocca un thread bloccato su una variabile di condizione 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. (funzione) |