s="Identifier">dynlib</span><span class="Other">:</span> <span class="Identifier">SDL2_LIB</span></span><span class="Other">.}</span></span></pre></dt>
<dd>

<p>Wait for a thread to finish. Threads that haven't been detached will remain (as a &quot;zombie&quot;) until this procedure cleans them up. Not doing so is a resource leak.</p>
<p>Once a thread has been cleaned up through this procedure, the <tt class="docutils literal"><span class="pre">Thread</span></tt> that references it becomes invalid and shoul