cnd_signal
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_signal( cnd_t *cond ); |
(desde C11) | |
Desbloquea un hilo que actualmente espera en condición variable a la que apunta
cond
. Si no hay hilos se bloquean, no hace nada y devuelve 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.
[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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ver también
(C11) |
Desbloquea todos los hilos bloqueados en una variable de condición 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. (función) |