thread_detach
De 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. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <threads.h>
|
||
int thrd_detach( thrd_t thr ); |
(depuis C11) | |
Détache le thread identifié par
thr de l'environnement actuel. Les ressources détenues par le thread sera libéré automatiquement une fois que le thread se termine .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.
Paramètres
| thr | - | identifiant du fil à détacher
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. |
Retourne la valeur
thrd_success en cas de succès, thrd_error autrement .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.
Voir aussi
(C11) |
blocs jusqu'à ce qu'un thread se termine 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. (fonction) |