joinLowLevelThread

Wait for a thread created with createLowLevelThread to terminate.

Note: In a Windows DLL, if this function is called via DllMain with argument DLL_PROCESS_DETACH, the thread is terminated forcefully without proper cleanup as a deadlock would happen otherwise.

nothrow @nogc
void
joinLowLevelThread

Parameters

tid ThreadID

the thread ID returned by createLowLevelThread.

Meta