thread_join
Aus 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>| definiert 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.
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.
You can help to correct and verify the translation. Click here for instructions.
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. |
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.
You can help to correct and verify the translation. Click here for instructions.
Siehe auch
(C11) |
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) |
(C11) |
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) |