\hypertarget{group__file__locking__constants}{}\doxysection{File Locking Constants} \label{group__file__locking__constants}\index{File Locking Constants@{File Locking Constants}} \doxysubsection*{Variables} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{group__file__locking__constants_gaf9d120de60979f848d7d145db05c4403}\label{group__file__locking__constants_gaf9d120de60979f848d7d145db05c4403}} const \mbox{\hyperlink{group__file__locking__constants_gaf9d120de60979f848d7d145db05c4403}{Qore\+::\+F\+\_\+\+RDLCK}} = F\+\_\+\+RDLCK \begin{DoxyCompactList}\small\item\em Use for read-\/only locking. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__locking__constants_ga6a9776b4f6e4e751d2ad8011979072c4}\label{group__file__locking__constants_ga6a9776b4f6e4e751d2ad8011979072c4}} const \mbox{\hyperlink{group__file__locking__constants_ga6a9776b4f6e4e751d2ad8011979072c4}{Qore\+::\+F\+\_\+\+UNLCK}} = F\+\_\+\+UNLCK \begin{DoxyCompactList}\small\item\em Use for unlocking a lock. \end{DoxyCompactList}\item \mbox{\Hypertarget{group__file__locking__constants_ga6df55e6d2cd8d49cb714afe15f4d6b63}\label{group__file__locking__constants_ga6df55e6d2cd8d49cb714afe15f4d6b63}} const \mbox{\hyperlink{group__file__locking__constants_ga6df55e6d2cd8d49cb714afe15f4d6b63}{Qore\+::\+F\+\_\+\+WRLCK}} = F\+\_\+\+WRLCK \begin{DoxyCompactList}\small\item\em Use for exclusive write locking. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Detailed Description} These are the possible values for the \mbox{\hyperlink{class_qore_1_1_file_ae2ab9eceb9375c60e71b3b3dd46bee0a}{File\+::lock()}} or \mbox{\hyperlink{class_qore_1_1_file_a4ec71933b105ae9b13ef5c84a7b4975a}{File\+::lock\+Blocking()}} methods. \begin{DoxyNote}{Note} These contants are set to 0 on platforms where HAVE\+\_\+\+FILE\+\_\+\+LOCKING is \mbox{\hyperlink{basic_data_types_False}{False}} (such as native Windows ports) \end{DoxyNote}