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
Type: ThreadID

the thread ID returned by createLowLevelThread.

Suggestion Box / Bug Report