\hypertarget{classUtil_1_1Mutex_1_1Lock}{\section{\-Util\-:\-:\-Mutex\-:\-:\-Lock \-Class \-Reference}
\label{classUtil_1_1Mutex_1_1Lock}\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}}
}


{\ttfamily \#include $<$\-Mutex.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUtil_1_1Mutex_1_1Lock_a782bf94ae672681639037b06be3ca235}{\-Lock} (\hyperlink{classUtil_1_1Mutex}{\-Mutex} \&)
\item 
\hyperlink{classUtil_1_1Mutex_1_1Lock_a8092e2b59472620814be63366b378793}{\-Lock} ()
\item 
\hyperlink{classUtil_1_1Mutex_1_1Lock_aefba6844cf5d31dc62acdad3a47c5d46}{$\sim$\-Lock} ()
\item 
void \hyperlink{classUtil_1_1Mutex_1_1Lock_ada57100015c8ef0b22b61a7e8b168ae7}{lock} (\hyperlink{classUtil_1_1Mutex}{\-Mutex} \&)
\item 
bool \hyperlink{classUtil_1_1Mutex_1_1Lock_a6bbe2a099148d56496af448f354da565}{try\-Lock} (\hyperlink{classUtil_1_1Mutex}{\-Mutex} \&)
\item 
void \hyperlink{classUtil_1_1Mutex_1_1Lock_a75b7ad3a17765353f11c88c08d5adf67}{release} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classUtil_1_1Mutex_1_1Lock_a782bf94ae672681639037b06be3ca235}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!\-Lock@{\-Lock}}
\index{\-Lock@{\-Lock}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{\-Lock}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Util\-::\-Mutex\-::\-Lock\-::\-Lock} (
\begin{DoxyParamCaption}
\item[{{\bf \-Mutex} \&}]{fresh\-\_\-target}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_a782bf94ae672681639037b06be3ca235}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1Mutex_1_1Lock_a782bf94ae672681639037b06be3ca235_cgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1Mutex_1_1Lock_a8092e2b59472620814be63366b378793}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!\-Lock@{\-Lock}}
\index{\-Lock@{\-Lock}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{\-Lock}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Util\-::\-Mutex\-::\-Lock\-::\-Lock} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_a8092e2b59472620814be63366b378793}
\hypertarget{classUtil_1_1Mutex_1_1Lock_aefba6844cf5d31dc62acdad3a47c5d46}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!$\sim$\-Lock@{$\sim$\-Lock}}
\index{$\sim$\-Lock@{$\sim$\-Lock}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{$\sim$\-Lock}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Util\-::\-Mutex\-::\-Lock\-::$\sim$\-Lock} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_aefba6844cf5d31dc62acdad3a47c5d46}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUtil_1_1Mutex_1_1Lock_ada57100015c8ef0b22b61a7e8b168ae7}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!lock@{lock}}
\index{lock@{lock}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{lock}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Util\-::\-Mutex\-::\-Lock\-::lock} (
\begin{DoxyParamCaption}
\item[{{\bf \-Mutex} \&}]{fresh\-\_\-target}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_ada57100015c8ef0b22b61a7e8b168ae7}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1Mutex_1_1Lock_ada57100015c8ef0b22b61a7e8b168ae7_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1Mutex_1_1Lock_a75b7ad3a17765353f11c88c08d5adf67}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!release@{release}}
\index{release@{release}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{release}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Util\-::\-Mutex\-::\-Lock\-::release} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_a75b7ad3a17765353f11c88c08d5adf67}
\hypertarget{classUtil_1_1Mutex_1_1Lock_a6bbe2a099148d56496af448f354da565}{\index{\-Util\-::\-Mutex\-::\-Lock@{\-Util\-::\-Mutex\-::\-Lock}!try\-Lock@{try\-Lock}}
\index{try\-Lock@{try\-Lock}!Util::Mutex::Lock@{\-Util\-::\-Mutex\-::\-Lock}}
\subsubsection[{try\-Lock}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Util\-::\-Mutex\-::\-Lock\-::try\-Lock} (
\begin{DoxyParamCaption}
\item[{{\bf \-Mutex} \&}]{fresh\-\_\-target}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1Mutex_1_1Lock_a6bbe2a099148d56496af448f354da565}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-Util/\-Source/\-Util/\hyperlink{Mutex_8h}{\-Mutex.\-h}\item 
trunk/bwapi/\-Util/\-Source/\-Util/\hyperlink{Mutex_8cpp}{\-Mutex.\-cpp}\end{DoxyCompactItemize}
