\hypertarget{_q_c___r_w_lock_8dox_8h_source}{}\doxysection{QC\+\_\+\+RWLock.\+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{40 \textcolor{keyword}{class }\mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock}{RWLock}} : \textcolor{keyword}{public} \mbox{\hyperlink{class_qore_1_1_thread_1_1_abstract_smart_lock}{AbstractSmartLock}} \{}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{keyword}{public}:}
\DoxyCodeLine{44 }
\DoxyCodeLine{49  \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a2cca11879044ef7f40cfa707f1bf3c47}{constructor}}();}
\DoxyCodeLine{50 }
\DoxyCodeLine{51 \textcolor{keyword}{public}:}
\DoxyCodeLine{53 }
\DoxyCodeLine{58  \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a88a6fefec6f761cf0d72baf2b38cb62b}{copy}}();}
\DoxyCodeLine{59 }
\DoxyCodeLine{60 \textcolor{keyword}{public}:}
\DoxyCodeLine{62 }
\DoxyCodeLine{71  \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a52ba1405c9bf97c3888cc58bd0d5902a}{destructor}}();}
\DoxyCodeLine{72 }
\DoxyCodeLine{73 \textcolor{keyword}{public}:}
\DoxyCodeLine{75 }
\DoxyCodeLine{85 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_acb76cd08c7aa13854b2174e952efee65}{getReadWaiting}}();}
\DoxyCodeLine{86 }
\DoxyCodeLine{87 \textcolor{keyword}{public}:}
\DoxyCodeLine{89 }
\DoxyCodeLine{99 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ab5f9f093afb74f047051356524e288ff}{getWriteWaiting}}();}
\DoxyCodeLine{100 }
\DoxyCodeLine{101 \textcolor{keyword}{public}:}
\DoxyCodeLine{103 }
\DoxyCodeLine{114 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_aefcf3643bfe193b7d4b63cef41299ade}{lockOwner}}();}
\DoxyCodeLine{115 }
\DoxyCodeLine{116 \textcolor{keyword}{public}:}
\DoxyCodeLine{118 }
\DoxyCodeLine{128 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a5ae6ade327e6c65430025c653c684f3c}{numReaders}}();}
\DoxyCodeLine{129 }
\DoxyCodeLine{130 \textcolor{keyword}{public}:}
\DoxyCodeLine{132 }
\DoxyCodeLine{140 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ad8ab081b2f254129ec042d614fbb1485}{readLock}}();}
\DoxyCodeLine{141 }
\DoxyCodeLine{142 \textcolor{keyword}{public}:}
\DoxyCodeLine{144 }
\DoxyCodeLine{162 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a10e4f61ecbb32380ac729217cb6b3161}{readLock}}(timeout timeout\_ms);}
\DoxyCodeLine{163 }
\DoxyCodeLine{164 \textcolor{keyword}{public}:}
\DoxyCodeLine{166 }
\DoxyCodeLine{177 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a362a40fe4d167e29befa94f40e4495e5}{readLockOwner}}();}
\DoxyCodeLine{178 }
\DoxyCodeLine{179 \textcolor{keyword}{public}:}
\DoxyCodeLine{181 }
\DoxyCodeLine{188 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a1a32805ce5cc129d2ed2bf96b01a7d4c}{readUnlock}}();}
\DoxyCodeLine{189 }
\DoxyCodeLine{190 \textcolor{keyword}{public}:}
\DoxyCodeLine{192 }
\DoxyCodeLine{202 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ae6ae2fb6dadf5d144dbd7694c0ca0bfb}{tryReadLock}}();}
\DoxyCodeLine{203 }
\DoxyCodeLine{204 \textcolor{keyword}{public}:}
\DoxyCodeLine{206 }
\DoxyCodeLine{215 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a20b09807edecf2ee7591e90e16c4fe6c}{tryWriteLock}}();}
\DoxyCodeLine{216 }
\DoxyCodeLine{217 \textcolor{keyword}{public}:}
\DoxyCodeLine{219 }
\DoxyCodeLine{237 \textcolor{keywordtype}{int} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a0be2f09ba84a3a5fbf3d0073c59f8542}{writeLock}}(timeout timeout\_ms);}
\DoxyCodeLine{238 }
\DoxyCodeLine{239 \textcolor{keyword}{public}:}
\DoxyCodeLine{241 }
\DoxyCodeLine{249 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a15face42a9f0634de3e2f835f8daa35b}{writeLock}}();}
\DoxyCodeLine{250 }
\DoxyCodeLine{251 \textcolor{keyword}{public}:}
\DoxyCodeLine{253 }
\DoxyCodeLine{264 \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a5e9c32cc40cd0cb9b00e6d29f265884f}{writeLockOwner}}();}
\DoxyCodeLine{265 }
\DoxyCodeLine{266 \textcolor{keyword}{public}:}
\DoxyCodeLine{268 }
\DoxyCodeLine{275 nothing \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a577f98df56071f39199c7ace72dc132d}{writeUnlock}}();}
\DoxyCodeLine{276 \};}
\DoxyCodeLine{277 \}}
\DoxyCodeLine{278 \}}

\end{DoxyCode}
