\section{Semaphore Class Reference}
\label{classSemaphore}\index{Semaphore@{Semaphore}}
{\tt \#include $<$thread\-Utils.hpp$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Semaphore} (unsigned int init\-Val=0)
\item 
{\bf $\sim$Semaphore} ()
\item 
void {\bf down} ()
\item 
void {\bf up} ()
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
sem\_\-t {\bf sem}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{Semaphore@{Semaphore}!Semaphore@{Semaphore}}
\index{Semaphore@{Semaphore}!Semaphore@{Semaphore}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Semaphore::Semaphore (unsigned int {\em init\-Val} = {\tt 0})\hspace{0.3cm}{\tt  [inline]}}\label{classSemaphore_570698c680a467b9b0a708635149d54a}


\index{Semaphore@{Semaphore}!~Semaphore@{$\sim$Semaphore}}
\index{~Semaphore@{$\sim$Semaphore}!Semaphore@{Semaphore}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Semaphore::$\sim$Semaphore ()\hspace{0.3cm}{\tt  [inline]}}\label{classSemaphore_633658a6fde276bffc912028725c6ade}




\subsection{Member Function Documentation}
\index{Semaphore@{Semaphore}!down@{down}}
\index{down@{down}!Semaphore@{Semaphore}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Semaphore::down ()\hspace{0.3cm}{\tt  [inline]}}\label{classSemaphore_71126a13a22f2722e22a2b69860a5371}


\index{Semaphore@{Semaphore}!up@{up}}
\index{up@{up}!Semaphore@{Semaphore}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Semaphore::up ()\hspace{0.3cm}{\tt  [inline]}}\label{classSemaphore_15fb190263808234fc2562f39f523082}




\subsection{Member Data Documentation}
\index{Semaphore@{Semaphore}!sem@{sem}}
\index{sem@{sem}!Semaphore@{Semaphore}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}sem\_\-t {\bf Semaphore::sem}\hspace{0.3cm}{\tt  [private]}}\label{classSemaphore_23e62b0971c229ddf106e3ff71d688d6}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf thread\-Utils.hpp}\end{CompactItemize}
