thread_join
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 thrd_join(thrd_t thr, int*res ); | (desde C11) | |
Bloquea el subproceso actual hasta que el hilo identificado por
thr
finaliza su ejecución .Original:
Blocks the current thread until the thread identified by
thr
finishes execution.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.
El código de resultado de la rosca se coloca en la ubicación apuntada por
res
.Original:
The result code of the thread is put to the location pointed to by
res
.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
thr | - | identificador de la rosca para unirse Original: identifier of the thread to join The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
res | - | lugar de poner el código de resultado a Original: location to put the result code to 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) | desprende un hilo Original: detaches a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
(C11) | termina el subproceso de llamada Original: terminates the calling thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |