Espacios de nombres
Variantes
Acciones

cnd_broadcast

De cppreference.com
< c‎ | thread

 
 
Tema Biblioteca de ayuda
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exclusión mutua
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Llame a la vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Las variables de condición
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cnd_init
cnd_signal
cnd_broadcast
Almacenamiento local de subprocesos
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <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.

[editar] 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.

[editar] 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.

[editar] Ver también

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) [edit]