\hypertarget{ql__thread_8dox_8h_source}{}\doxysection{ql\+\_\+thread.\+dox.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{5 }
\DoxyCodeLine{7 \textcolor{keyword}{struct }\mbox{\hyperlink{struct_qore_1_1_call_stack_info}{CallStackInfo}} \{}
\DoxyCodeLine{9     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a9a2635864b59ecbb2e4100653ae590e8}{endline}};}
\DoxyCodeLine{11     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_ab16d73f8c1f1c029f33762cecbbd6346}{file}};}
\DoxyCodeLine{13     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a8fc47a1c77bcaee88c67a1ed1d9b5e91}{function}};}
\DoxyCodeLine{15     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a667b9b477523bb1383d6e5fb59cb5a9f}{lang}};}
\DoxyCodeLine{17     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a35a2b7806cc333cf1e306e1adfac1771}{line}};}
\DoxyCodeLine{19     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a75f754692ac785b55ec4b581c79c3239}{offset}};}
\DoxyCodeLine{21     *\textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_af920c5d7e526e62e35e476f313c8d919}{programid}};}
\DoxyCodeLine{23     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_aa0af4530f0fdcae4af5d4832b33c6052}{source}};}
\DoxyCodeLine{25     *\textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a480a0d4851c898c5a96f9883164e851d}{statementid}};}
\DoxyCodeLine{27     \textcolor{keywordtype}{string} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_aeb882a998726c6b430861b440ebd7af2}{type}};}
\DoxyCodeLine{29     \textcolor{keywordtype}{int} \mbox{\hyperlink{struct_qore_1_1_call_stack_info_a6d8d1cc307ede76d91eb0f3ca905ca9b}{typecode}};}
\DoxyCodeLine{30 \};}
\DoxyCodeLine{31 \}}
\DoxyCodeLine{32 }
\DoxyCodeLine{34 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespace_qore}{Qore}} \{}
\DoxyCodeLine{38 }
\DoxyCodeLine{41 }
\DoxyCodeLine{51 nothing \mbox{\hyperlink{group__threading__functions_ga67572bb3364b4af9d37226948fb680c5}{delete\_all\_thread\_data}}();}
\DoxyCodeLine{52 }
\DoxyCodeLine{54 }
\DoxyCodeLine{71 nothing \mbox{\hyperlink{group__threading__functions_ga7fecb4c50726c994a9cdaf1d3284e5b4}{delete\_thread\_data}}( ...);}
\DoxyCodeLine{72 }
\DoxyCodeLine{74 }
\DoxyCodeLine{91 nothing \mbox{\hyperlink{group__threading__functions_ga7fecb4c50726c994a9cdaf1d3284e5b4}{delete\_thread\_data}}(list<softstring> l);}
\DoxyCodeLine{92 }
\DoxyCodeLine{94 }
\DoxyCodeLine{104 hash<string,list<hash<CallStackInfo>>> \mbox{\hyperlink{group__threading__functions_gacdf0fea58531a79a1e4d8f7638c6a2a9}{getAllThreadCallStacks}}();}
\DoxyCodeLine{105 }
\DoxyCodeLine{107 }
\DoxyCodeLine{130 hash<string,list<hash<CallStackInfo>>> \mbox{\hyperlink{group__threading__functions_ga9332a28868cced9f3dbc9b3ac5c66152}{get\_all\_thread\_call\_stacks}}();}
\DoxyCodeLine{131 }
\DoxyCodeLine{133 }
\DoxyCodeLine{148 hash<auto> \mbox{\hyperlink{group__threading__functions_ga82fa4af8804eef6236402bed90060811}{get\_all\_thread\_data}}();}
\DoxyCodeLine{149 }
\DoxyCodeLine{151 }
\DoxyCodeLine{171 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__threading__functions_ga82d1b72e32a368be71b3b91462cbe0da}{get\_default\_thread\_stack\_size}}();}
\DoxyCodeLine{172 }
\DoxyCodeLine{174 }
\DoxyCodeLine{197 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__threading__functions_gaa97833f603fb51b23fe0bb6c22b7f95f}{get\_stack\_size}}();}
\DoxyCodeLine{198 }
\DoxyCodeLine{200 }
\DoxyCodeLine{219 list<hash<CallStackInfo>> \mbox{\hyperlink{group__threading__functions_ga89a7a372b30dc8c96a3edf0a174eaaa5}{get\_thread\_call\_stack}}();}
\DoxyCodeLine{220 }
\DoxyCodeLine{222 }
\DoxyCodeLine{235 \textcolor{keyword}{auto} \mbox{\hyperlink{group__threading__functions_gafe320b93634b056e4d36ad02086b0638}{get\_thread\_data}}(\textcolor{keywordtype}{string} key);}
\DoxyCodeLine{236 }
\DoxyCodeLine{238 }
\DoxyCodeLine{245 nothing \mbox{\hyperlink{group__threading__functions_gafe320b93634b056e4d36ad02086b0638}{get\_thread\_data}}();}
\DoxyCodeLine{246 }
\DoxyCodeLine{248 }
\DoxyCodeLine{271 \_\_7\_ \textcolor{keywordtype}{string} \mbox{\hyperlink{group__threading__functions_ga79f9cd8de9606cae29c29e3b08d234f0}{get\_thread\_name}}();}
\DoxyCodeLine{272 }
\DoxyCodeLine{274 }
\DoxyCodeLine{292 \_\_7\_ \mbox{\hyperlink{class_qore_1_1_time_zone}{TimeZone}} \mbox{\hyperlink{group__threading__functions_gad86831d8ae7b5b1d35e9bb14dc9f6325}{get\_thread\_tz}}();}
\DoxyCodeLine{293 }
\DoxyCodeLine{295 }
\DoxyCodeLine{310 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__threading__functions_ga95ed8e572309b44b3f5b49673238c3e6}{gettid}}();}
\DoxyCodeLine{311 }
\DoxyCodeLine{313 }
\DoxyCodeLine{344 nothing \mbox{\hyperlink{group__threading__functions_gafa1c0f9e429a945b66fb261c7fa1b5bd}{mark\_thread\_resources}}();}
\DoxyCodeLine{345 }
\DoxyCodeLine{347 }
\DoxyCodeLine{362 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__threading__functions_ga4bffba0876346fe5233ed4f5161c90d0}{num\_threads}}();}
\DoxyCodeLine{363 }
\DoxyCodeLine{365 }
\DoxyCodeLine{380 \_\_7\_ hash<auto> \mbox{\hyperlink{group__threading__functions_ga7331a4636682b07d3edddea9225ab1f1}{remove\_thread\_data}}( ...);}
\DoxyCodeLine{381 }
\DoxyCodeLine{383 }
\DoxyCodeLine{398 hash<auto> \mbox{\hyperlink{group__threading__functions_ga7331a4636682b07d3edddea9225ab1f1}{remove\_thread\_data}}(list<softstring> l);}
\DoxyCodeLine{399 }
\DoxyCodeLine{401 }
\DoxyCodeLine{423 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__threading__functions_gadc994316e54fdf50111018de9bd15dc6}{remove\_thread\_resource}}(AbstractThreadResource resource);}
\DoxyCodeLine{424 }
\DoxyCodeLine{426 }
\DoxyCodeLine{448 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__threading__functions_gadc994316e54fdf50111018de9bd15dc6}{remove\_thread\_resource}}(code resource);}
\DoxyCodeLine{449 }
\DoxyCodeLine{451 }
\DoxyCodeLine{465 nothing \mbox{\hyperlink{group__threading__functions_ga1da332e389e3083ba80d45aaec0525c6}{save\_thread\_data}}(hash<auto> h);}
\DoxyCodeLine{466 }
\DoxyCodeLine{468 }
\DoxyCodeLine{483 nothing \mbox{\hyperlink{group__threading__functions_ga1da332e389e3083ba80d45aaec0525c6}{save\_thread\_data}}(\textcolor{keywordtype}{string} key, \textcolor{keyword}{auto} value);}
\DoxyCodeLine{484 }
\DoxyCodeLine{486 }
\DoxyCodeLine{493 nothing \mbox{\hyperlink{group__threading__functions_ga1da332e389e3083ba80d45aaec0525c6}{save\_thread\_data}}();}
\DoxyCodeLine{494 }
\DoxyCodeLine{496 }
\DoxyCodeLine{516 \textcolor{keywordtype}{int} \mbox{\hyperlink{group__threading__functions_gadbd86685c49fd7b4960b8b21e05cb2f0}{set\_default\_thread\_stack\_size}}(\textcolor{keywordtype}{int} size);}
\DoxyCodeLine{517 }
\DoxyCodeLine{519 }
\DoxyCodeLine{541 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__threading__functions_gae83c32576b59a1ecfa906d9b3c3af557}{set\_thread\_init}}(\_\_7\_ code init);}
\DoxyCodeLine{542 }
\DoxyCodeLine{544 }
\DoxyCodeLine{560 nothing \mbox{\hyperlink{group__threading__functions_ga321040a3e764383dd68c50d496436e87}{set\_thread\_name}}(\textcolor{keywordtype}{string} name);}
\DoxyCodeLine{561 }
\DoxyCodeLine{563 }
\DoxyCodeLine{583 nothing \mbox{\hyperlink{group__threading__functions_ga1a1fbc371cfc8885ed78e4bff25d35b1}{set\_thread\_resource}}(AbstractThreadResource resource);}
\DoxyCodeLine{584 }
\DoxyCodeLine{586 }
\DoxyCodeLine{607 nothing \mbox{\hyperlink{group__threading__functions_ga1a1fbc371cfc8885ed78e4bff25d35b1}{set\_thread\_resource}}(code resource, \textcolor{keyword}{auto} arg);}
\DoxyCodeLine{608 }
\DoxyCodeLine{610 }
\DoxyCodeLine{632 nothing \mbox{\hyperlink{group__threading__functions_ga21c1462b384cf6a52d20195bb3b6cf90}{set\_thread\_tz}}(\mbox{\hyperlink{class_qore_1_1_time_zone}{TimeZone}} zone);}
\DoxyCodeLine{633 }
\DoxyCodeLine{635 }
\DoxyCodeLine{653 nothing \mbox{\hyperlink{group__threading__functions_ga21c1462b384cf6a52d20195bb3b6cf90}{set\_thread\_tz}}();}
\DoxyCodeLine{654 }
\DoxyCodeLine{656 }
\DoxyCodeLine{673 list<int> \mbox{\hyperlink{group__threading__functions_ga9c9b1f442a9a3b63ad04cb6b116216b0}{thread\_list}}();}
\DoxyCodeLine{674 }
\DoxyCodeLine{676 }
\DoxyCodeLine{686 nothing \mbox{\hyperlink{group__threading__functions_ga23d27aeac0640b070f964f2eb9f1cc8a}{thread\_yield}}();}
\DoxyCodeLine{687 }
\DoxyCodeLine{689 }
\DoxyCodeLine{715 nothing \mbox{\hyperlink{group__threading__functions_ga401f0e787e79f2e4851d60b9223bb8d2}{throwThreadResourceExceptions}}();}
\DoxyCodeLine{716 }
\DoxyCodeLine{718 }
\DoxyCodeLine{752 nothing \mbox{\hyperlink{group__threading__functions_ga421dca39ccb55b191d5d09fd98c2075a}{throw\_thread\_resource\_exceptions}}();}
\DoxyCodeLine{753 }
\DoxyCodeLine{755 }
\DoxyCodeLine{790 \textcolor{keywordtype}{bool} \mbox{\hyperlink{group__threading__functions_ga4e62409b8a1b414276d033267e7299e4}{throw\_thread\_resource\_exceptions\_to\_mark}}();}
\DoxyCodeLine{791 }
\DoxyCodeLine{793 \}}

\end{DoxyCode}
