thread_exit
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <threads.h> | ||
_Noreturn void thrd_exit(int res ); | (desde C11) | |
Termina a thread atual e define seu código de resultado para
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 seção está incompleta Motivo: The termination of the program after the last thread. The standard seems to be contradictory |
[editar]Parâmetros
res | - | o resultado de valor para voltar 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
(Nenhum)
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]Veja também
(C11) | blocos até que um segmento 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. (função) |
(C11) | destaca uma discussão 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. (função) |