\doxysection{QC\+\_\+\+Mutex.\+dox.\+h}
\hypertarget{_q_c___mutex_8dox_8h_source}{}\label{_q_c___mutex_8dox_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespace_qore}{Qore}}\ \{}
\DoxyCodeLine{00004\ \textcolor{keyword}{namespace\ }Thread\ \{}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00037\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex}{Mutex}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_abstract_smart_lock}{AbstractSmartLock}}\ \{}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00046\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_ac840b8963339af09900272734751699c}{constructor}}();}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00055\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_aab5cdf5a49a4fed57165ce3afa749e29}{copy}}();}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00068\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_a1a210a99ba91b43130d6b9ef4c7301c4}{destructor}}();}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00082\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_a0bb3432456ccdf0cfb1523429b5b4141}{lock}}();}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00103\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_a22c7752a61e7ae1e1c1e87a20b8dd0f4}{lock}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout\_ms}});}
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00105\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00107\ }
\DoxyCodeLine{00117\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_abcc3818211d37882c0549bfcbe7c487b}{trylock}}();}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00119\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00128\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_mutex_a23adbdd9cd3ffe17b1cbc700716aec5c}{unlock}}();}
\DoxyCodeLine{00129\ \};}
\DoxyCodeLine{00130\ \}}
\DoxyCodeLine{00131\ \}}

\end{DoxyCode}
