cnd_broadcast
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
| Definido en el archivo de encabezado <threads.h>
|
||
int cnd_broadcast( cnd_t *cond );
|
(desde C11) | |
Desbloquea todos los hilos que actualmente esperan en condición variable a la que apunta
cond. Si no hay hilos se bloquean, no hace nada y devuelve 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.
Parámetros
| cond | - | puntero a una variable de condición
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. |
Valor de retorno
thrd_success de tener éxito, de lo contrario 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.
Ver también
(C11) |
desbloquea un hilo bloqueado en una variable de condición 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. (función) |