thread_join
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. |
Déclaré dans l'en-tête <threads.h>
|
||
int thrd_join( thrd_t thr, int *res ); |
(depuis C11) | |
Bloque le thread actuel jusqu'à ce que le thread identifié par
thr
termine l'exécution .Original:
Blocks the current thread until the thread identified by
thr
finishes execution.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.
Le code de résultat du filet est mis à l'emplacement pointé par
res
.Original:
The result code of the thread is put to the location pointed to by
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.
[modifier] Paramètres
thr | - | identifiant du fil à joindre
Original: identifier of the thread to join The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
res | - | emplacement pour placer le code de résultat pour
Original: location to put the result code to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] 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.
[modifier] Voir aussi
(C11) |
détache un thread 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. (fonction) |
(C11) |
termine le thread appelant Original: terminates the calling thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |