[#BloombergLP-bslmt-ThreadUtilImpl-04-join] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::join :relfileprefix: ../../../ :mrdocs: Suspend execution of the current thread until the thread specified by `threadHandle` terminates, and reclaim any system resources associated with the `threadHandle`. Return 0 on success, and a non‐zero value otherwise. If the optionally specified `status` is not 0, load into the `status` the value returned by the specified `thread`. == Synopsis Declared in `<bslmt_threadutilimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int join( xref:BloombergLP/bslmt/ThreadUtilImpl-04/Handle.adoc[Handle]& threadHandle, void** status = (void**)0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#