Semaphores

Figure 2.14: The producer-consumer problem using semaphore
\includegraphics[scale=0.2]{figures/2-24.ps}
2004-05-25