>pt</a> *<a class="code" href="a00005.html">pt</a>)
{
  <span class="comment">/* A protothread function must begin with PT_BEGIN() which takes a</span>
<span class="comment">     pointer to a struct pt. */</span>
  <a class="code" href="a00014.html#g2ffbb9e554e08a343ae2f9de4bedfdfc">PT_BEGIN</a>(pt);

  <span class="comment">/* We loop forever here. */</span>
  <span class="keywordflow">while</span>(1) {
    <span class="comment">/* Wait until the other protothread has set its flag. */</span>
    <