Namensräume
Varianten
Aktionen

thread_join

Aus cppreference.com
< c‎ | thread

 
 
Thema Support-Bibliothek
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.
Gegenseitigen Ausschluss
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.
Rufen Sie einmal
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.
Zustand Variablen
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.
Thread-lokalen Speicher
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 );
(Seit C11)
Blockiert den aktuellen Thread, bis das Gewinde durch thr identifiziert Ausführung beendet .
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.
Die Ergebnis-Code des Fadens wird an die Stelle, auf die res gestellt .
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.

[Bearbeiten] Parameter

thr -
Kennung des Fadens zu verbinden
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 -
Speicherort für die Ergebnis-Code zu setzen
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.

[Bearbeiten] Rückgabewert

thrd_success wenn erfolgreich, thrd_error sonst .
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.

[Bearbeiten] Siehe auch

löst einen Faden
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.

(Funktion) [edit]
beendet den aufrufenden Thread
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.

(Funktion) [edit]