type">int</span>
main(<span class="keywordtype">void</span>)
{
  <span class="keyword">struct </span>pt driver_pt;

  <a class="code" href="a00014.html#ge6bae7dc0225468c8a5ac269df549892">PT_INIT</a>(&amp;driver_pt);

  <span class="keywordflow">while</span>(<a class="code" href="a00014.html#gfa82b860a64b67d25ab3abc21811896f">PT_SCHEDULE</a>(driver_thread(&amp;driver_pt))) {

    <span class="comment">/*</span>
<span class="comment">     * When running this example on a multitasking system, we must