="binding-text">(thread/exit &amp;opt code)

Exit from the current thread. If no more threads are running, ends the process, but otherwise does not end the current process.</pre><a href="https://janetdocs.org/thread/exit">Community Examples</a></div><hr><div class="binding"><span id="thread/new" class="binding-sym">thread/new</span> <span class="binding-type">cfunction</span>  <pre class="binding-text">(thread/new func &amp;opt capacity flags)

Start a new thread that will start immediately. If capacity is 