thread_detach
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_detach( thrd_t thr ); |
(desde C11) | |
Desconecta el hilo identificado por
thr desde el entorno actual. Los recursos mantenidos por el hilo se liberará automáticamente cuando el hilo termina .Original:
Detaches the thread identified by
thr from the current environment. The resources held by the thread will be freed automatically once the thread exits.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.
Parámetros
| thr | - | identificador del hilo se puede desprender
Original: identifier of the thread to detach The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
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.
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) |