tothread</span>
<span class="comment"> * control structures and schedules the two protothreads. The main</span>
<span class="comment"> * function returns when the protothread the runs the code lock exits.</span>
<span class="comment"> */</span>
<span class="keywordtype">int</span>
main(<span class="keywordtype">void</span>)
{
  <span class="comment">/*</span>
<span class="comment">   * Initialize the two protothread control structures.</span>
<span class="comment">   */</span>
  <a class="code" hr