Commit 684364c6 authored by Skip Montanaro's avatar Skip Montanaro

Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are

present.
parent ecdad857
......@@ -166,9 +166,9 @@ system dependent --- therefore using the \function{flock()} call may be
better.
\begin{seealso}
\seemodule{os}{The \function{os.open()} function supports locking flags
and is available on a wider variety of platforms than
the \function{lockf()} and \function{flock()}
functions, providing a more platform-independent file
locking facility.}
\seemodule{os}{If the locking flags \constant{O_SHLOCK} and
\constant{O_EXLOCK} are present in the \module{os} module,
the \function{os.open()} function provides a more
platform-independent alternative to the \function{lockf()}
and \function{flock()} functions.}
\end{seealso}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment