rocessor">#include "<a class="code" href="a00012.html">pt-sem.h</a>"</span>
 
<span class="preprocessor">#define NUM_ITEMS 32</span>
<span class="preprocessor"></span><span class="preprocessor">#define BUFSIZE 8</span>
<span class="preprocessor"></span>
<span class="keyword">static</span> <span class="keywordtype">int</span> buffer[BUFSIZE];
<span class="keyword">static</span> <span class="keywordtype">int</span> bufptr;

<span class="keyword">static</span> <span class="keywordtype">void</span>
add