thread_detach
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <threads.h>
|
||
int thrd_detach( thrd_t thr ); |
(dal C11) | |
Stacca il filo identificato dal
thr dal contesto attuale. Le risorse utilizzate dal thread verrà liberata automaticamente una volta che il thread.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.
Parametri
| thr | - | identificatore del thread per staccare
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. |
Valore di ritorno
thrd_success caso di successo, altrimenti 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.
Vedi anche
(C11) |
blocca fino a quando un thread viene terminato 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. (funzione) |