thread_exit
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> | ||
_Noreturn void thrd_exit(int res ); | (desde C11) | |
Termina el subproceso actual y establece su código de resultado a
res
.Original:
Terminates the current thread and sets its result code to
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.
Esta sección está incompleta Razón: The termination of the program after the last thread. The standard seems to be contradictory |
[editar]Parámetros
res | - | el resultado valor a devolver Original: the result value to return 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
(Ninguno)
Original:
(none)
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) | bloquea hasta que un subproceso termina Original: blocks until a thread terminates 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) | 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) |