0021"><span class="category">Scheme Procedure: </span><span><strong>await-task-in-thread!</strong> <em>await resume [loop] thunk [handler]</em><a href='#index-await_002dtask_002din_002dthread_0021' class='copiable-anchor'> &para;</a></span></dt>
<dd><p>The loop and handler arguments are optional.  The procedure will run
&rsquo;thunk&rsquo; in its own thread, and then post an event to the event loop
specified by the &rsquo;loop&rsquo; argument when &rsquo;thunk&rsquo; has finished, or to the
default event lo