\doxysection{QC\+\_\+\+Counter.\+dox.\+h}
\hypertarget{_q_c___counter_8dox_8h_source}{}\label{_q_c___counter_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{00013\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_thread_1_1_counter}{Counter}}\ \{}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00026\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a99a25b2f06f40edd2535b43ede25ef5a}{constructor}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{softint}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{c}}\ =\ 0);}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00035\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_ac7ee8d36a93135aecdaa6a20ccbd6493}{copy}}();}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00052\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a31f5a01212067685e54de06ae29a9984}{dec}}();}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00065\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_aa300dc50dff017de65e65798e6df14d6}{destructor}}();}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00067\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00079\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a515835de364f97c66142ea565392c8d2}{getCount}}();}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00093\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a571dea7037a175c74c3d1209b2803738}{getWaiting}}();}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00106\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a7c098cd52caeff8f5ff18dddff2eeeb5}{inc}}();}
\DoxyCodeLine{00107\ }
\DoxyCodeLine{00108\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00117\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a1f577aa268217b95e60e4132a1216403}{waitForZero}}();}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00119\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00133\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a438ac754cabf7e432bf22d07a34e8c22}{waitForZero}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout\_ms}});}
\DoxyCodeLine{00134\ \};}
\DoxyCodeLine{00135\ \}}
\DoxyCodeLine{00136\ \}}

\end{DoxyCode}
