Espaces de noms
Variantes
Affichages
Actions

thread_join

De cppreference.com
< c‎ | thread

 
 
Bibliothèque de support fil
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
L'exclusion mutuelle
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Appelez fois
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Les variables de condition
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Stockage local des threads
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <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.
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.

[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.

[modifier] Voir aussi

détache un fil
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) [edit]
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) [edit]