\hypertarget{_q_c___auto_lock_8dox_8h_source}{}\doxysection{QC\+\_\+\+Auto\+Lock.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{2 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{4 \textcolor{keyword}{namespace }Thread \{}
\DoxyCodeLine{6 }
\DoxyCodeLine{35 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock}{AutoLock}} \{}
\DoxyCodeLine{36 }
\DoxyCodeLine{37 \textcolor{keyword}{public}:}
\DoxyCodeLine{39 }
\DoxyCodeLine{54  \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_aca26bade37a4031d8e737a2909b71925}{constructor}}(\mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex}{Mutex}} mutex);}
\DoxyCodeLine{55 }
\DoxyCodeLine{56 \textcolor{keyword}{public}:}
\DoxyCodeLine{58 }
\DoxyCodeLine{60  \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_a070b15110c43a07ce8285fb8cbc14c66}{copy}}();}
\DoxyCodeLine{61 }
\DoxyCodeLine{62 \textcolor{keyword}{public}:}
\DoxyCodeLine{64 }
\DoxyCodeLine{71  \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_a696bbcabef26a7e5996dee393fdd195d}{destructor}}();}
\DoxyCodeLine{72 }
\DoxyCodeLine{73 \textcolor{keyword}{public}:}
\DoxyCodeLine{75 }
\DoxyCodeLine{85 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_a5d121795cc06f8595db354dc9c70f2b0}{lock}}();}
\DoxyCodeLine{86 }
\DoxyCodeLine{87 \textcolor{keyword}{public}:}
\DoxyCodeLine{89 }
\DoxyCodeLine{99 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_ab016e55812b0814fedce775ea018f8ff}{trylock}}();}
\DoxyCodeLine{100 }
\DoxyCodeLine{101 \textcolor{keyword}{public}:}
\DoxyCodeLine{103 }
\DoxyCodeLine{110 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_auto_lock_a58f51c6a591688e031eb1a8981ca2e55}{unlock}}();}
\DoxyCodeLine{111 \};}
\DoxyCodeLine{112 \}}
\DoxyCodeLine{113 \}}

\end{DoxyCode}
