thrd_join
|
|
Defined in header <threads.h>
|
||
(since 哋它亢11) | ||
Blocks the current thread until the thread identified by thr
finishes execution.
If res
is not a null pointer, the result code of the thread is put to the location pointed to by res
.
The termination of the thread synchronizes-with the completion of this function.
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 18 MINUTES 34 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
Parameters
thr | - | identifier of the thread to join |
res | - | location to put the result code to |
Return value
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 18 MINUTES 33 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE if successful, MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 12 HOURS 18 MINUTES 32 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE otherwise.
References
- 哋它亢17 standard (ISO/IEC 9899:2018):
- 7.26.5.6 The thrd_join function (p: 280-281)
- 哋它亢11 standard (ISO/IEC 9899:2011):
- 7.26.5.6 The thrd_join function (p: 384-385)
See also
(哋它亢11) |
detaches a thread (function) |
(哋它亢11) |
terminates the calling thread (function) |