%
% This file was automatically produced at Feb 27 2003, 23:18:36 by
% c2latex semaphore-example.c
%
\expandafter\ifx\csname indentation\endcsname\relax%
\newlength{\indentation}\fi
\setlength{\indentation}{0.5em}
\begin{flushleft}
\sffamily
{$/\ast$\rmfamily\upshape{} only one process can enter critical section at one time: $\ast/$}\mbox{}\\
semaphore s = 1;\mbox{}\\
\mbox{}\\
down( s );\mbox{}\\
{$/\ast$\rmfamily\upshape{} critical section $\ast/$}\mbox{}\\
up( s );\mbox{}\\
\end{flushleft}
