\doxysection{QC\+\_\+\+Thread\+Pool.\+dox.\+h}
\hypertarget{_q_c___thread_pool_8dox_8h_source}{}\label{_q_c___thread_pool_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{00043\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool}{ThreadPool}}\ \{}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00061\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_a23a918821c73265f97125619d1f71cdc}{constructor}}(\textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__list__functions_ga67a04aa765442456f353bf8b38b50e0e}{max}}\ =\ 0,\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{minidle}}\ =\ 0,\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{maxidle}}\ =\ 0,\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{release\_ms}}\ =\ 5\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{s}});}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00070\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_ac945632df4f836f3f0de18cc3bd545fe}{destructor}}();}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00072\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00088\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_afa052186d36018d008fafc917f54dd74}{stop}}();}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00090\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00102\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_a7dcb42215303978ddee052d32dca8bb1}{stopWait}}();}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00104\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00114\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_a9b6fcc0e377c68eec2d7e36535700c5f}{submit}}(code\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{task}},\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{\_\_7\_}}\ code\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{cancel}});}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00128\ \textcolor{keywordtype}{string}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_thread_pool_a9d36ff6e50ed7e6e2798791151913da1}{toString}}();}
\DoxyCodeLine{00129\ \};}
\DoxyCodeLine{00130\ \}}
\DoxyCodeLine{00131\ \}}

\end{DoxyCode}
