n <em>stacksz</em> is not 0, the thread stack is allocated from a user space. The size of this user space is specified with <b>OS_PRIVSTKSIZE</b>.</li>
</ul>
<p>The following <code>#defines</code> specify the thread count and stack for thread execution:</p>
<ul>
<li><b>#define OS_TASKCNT</b> indicates the maximum number of threads that will run at the same time (including main).</li>
<li><b>#define OS_STKSIZE</b> specifies the default stack size (in words) for threads that are defined with osThreadDef <em>s