\hypertarget{_q_c___counter_8dox_8h_source}{}\doxysection{QC\+\_\+\+Counter.\+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{13 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_thread_1_1_counter}{Counter}} \{}
\DoxyCodeLine{14 }
\DoxyCodeLine{15 \textcolor{keyword}{public}:}
\DoxyCodeLine{17 }
\DoxyCodeLine{26  \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a99a25b2f06f40edd2535b43ede25ef5a}{constructor}}(softint c = 0);}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{keyword}{public}:}
\DoxyCodeLine{30 }
\DoxyCodeLine{35  \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_ac7ee8d36a93135aecdaa6a20ccbd6493}{copy}}();}
\DoxyCodeLine{36 }
\DoxyCodeLine{37 \textcolor{keyword}{public}:}
\DoxyCodeLine{39 }
\DoxyCodeLine{52 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a31f5a01212067685e54de06ae29a9984}{dec}}();}
\DoxyCodeLine{53 }
\DoxyCodeLine{54 \textcolor{keyword}{public}:}
\DoxyCodeLine{56 }
\DoxyCodeLine{65  \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_aa300dc50dff017de65e65798e6df14d6}{destructor}}();}
\DoxyCodeLine{66 }
\DoxyCodeLine{67 \textcolor{keyword}{public}:}
\DoxyCodeLine{69 }
\DoxyCodeLine{79 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a515835de364f97c66142ea565392c8d2}{getCount}}();}
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{keyword}{public}:}
\DoxyCodeLine{83 }
\DoxyCodeLine{93 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a571dea7037a175c74c3d1209b2803738}{getWaiting}}();}
\DoxyCodeLine{94 }
\DoxyCodeLine{95 \textcolor{keyword}{public}:}
\DoxyCodeLine{97 }
\DoxyCodeLine{106 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a7c098cd52caeff8f5ff18dddff2eeeb5}{inc}}();}
\DoxyCodeLine{107 }
\DoxyCodeLine{108 \textcolor{keyword}{public}:}
\DoxyCodeLine{110 }
\DoxyCodeLine{117 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a1f577aa268217b95e60e4132a1216403}{waitForZero}}();}
\DoxyCodeLine{118 }
\DoxyCodeLine{119 \textcolor{keyword}{public}:}
\DoxyCodeLine{121 }
\DoxyCodeLine{133 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_counter_a438ac754cabf7e432bf22d07a34e8c22}{waitForZero}}(timeout timeout\_ms);}
\DoxyCodeLine{134 \};}
\DoxyCodeLine{135 \}}
\DoxyCodeLine{136 \}}

\end{DoxyCode}
