class="mdzsyn-coresym">thread/new</span> <span class="mdzsyn-symbol">worker</span> <span class="mdzsyn-number">32</span>))</code></pre><h2>Sending and receiving messages
</h2>
<p>Threads in Janet do not share a memory heap and must communicate via message
passing. Use <code class="mendoza-code">thread/send</code> to send a message to a thread, and
<code class="mendoza-code">thread/receive</code> to get messages sent to the current thread.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<spa