\doxysection{QC\+\_\+\+RWLock.\+dox.\+h}
\hypertarget{_q_c___r_w_lock_8dox_8h_source}{}\label{_q_c___r_w_lock_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{00040\ \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{00041\ }
\DoxyCodeLine{00042\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00049\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a2cca11879044ef7f40cfa707f1bf3c47}{constructor}}();}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00051\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00058\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a88a6fefec6f761cf0d72baf2b38cb62b}{copy}}();}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00071\ \ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a52ba1405c9bf97c3888cc58bd0d5902a}{destructor}}();}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00085\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_acb76cd08c7aa13854b2174e952efee65}{getReadWaiting}}();}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00099\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ab5f9f093afb74f047051356524e288ff}{getWriteWaiting}}();}
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00101\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00114\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_aefcf3643bfe193b7d4b63cef41299ade}{lockOwner}}();}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00128\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a5ae6ade327e6c65430025c653c684f3c}{numReaders}}();}
\DoxyCodeLine{00129\ }
\DoxyCodeLine{00130\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00132\ }
\DoxyCodeLine{00140\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ad8ab081b2f254129ec042d614fbb1485}{readLock}}();}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00162\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a10e4f61ecbb32380ac729217cb6b3161}{readLock}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout\_ms}});}
\DoxyCodeLine{00163\ }
\DoxyCodeLine{00164\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00177\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a362a40fe4d167e29befa94f40e4495e5}{readLockOwner}}();}
\DoxyCodeLine{00178\ }
\DoxyCodeLine{00179\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00188\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a1a32805ce5cc129d2ed2bf96b01a7d4c}{readUnlock}}();}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00190\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00192\ }
\DoxyCodeLine{00202\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_ae6ae2fb6dadf5d144dbd7694c0ca0bfb}{tryReadLock}}();}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00204\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00206\ }
\DoxyCodeLine{00215\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a20b09807edecf2ee7591e90e16c4fe6c}{tryWriteLock}}();}
\DoxyCodeLine{00216\ }
\DoxyCodeLine{00217\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00219\ }
\DoxyCodeLine{00237\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a0be2f09ba84a3a5fbf3d0073c59f8542}{writeLock}}(\mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout}}\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{timeout\_ms}});}
\DoxyCodeLine{00238\ }
\DoxyCodeLine{00239\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00241\ }
\DoxyCodeLine{00249\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a15face42a9f0634de3e2f835f8daa35b}{writeLock}}();}
\DoxyCodeLine{00250\ }
\DoxyCodeLine{00251\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00253\ }
\DoxyCodeLine{00264\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a5e9c32cc40cd0cb9b00e6d29f265884f}{writeLockOwner}}();}
\DoxyCodeLine{00265\ }
\DoxyCodeLine{00266\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00268\ }
\DoxyCodeLine{00275\ \mbox{\hyperlink{group__type__conversion__functions_ga9a401e5112c58f63c05e7ee1e15968ef}{nothing}}\ \mbox{\hyperlink{class_qore_1_1_thread_1_1_r_w_lock_a577f98df56071f39199c7ace72dc132d}{writeUnlock}}();}
\DoxyCodeLine{00276\ \};}
\DoxyCodeLine{00277\ \}}
\DoxyCodeLine{00278\ \}}

\end{DoxyCode}
