Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
684364c6
Commit
684364c6
authored
Jun 08, 2005
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are
present.
parent
ecdad857
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libfcntl.tex
Doc/lib/libfcntl.tex
+5
-5
No files found.
Doc/lib/libfcntl.tex
View file @
684364c6
...
@@ -166,9 +166,9 @@ system dependent --- therefore using the \function{flock()} call may be
...
@@ -166,9 +166,9 @@ system dependent --- therefore using the \function{flock()} call may be
better.
better.
\begin{seealso}
\begin{seealso}
\seemodule
{
os
}{
The
\function
{
os.open()
}
function supports locking flags
\seemodule
{
os
}{
If the locking flags
\constant
{
O
_
SHLOCK
}
and
and is available on a wider variety of platforms than
\constant
{
O
_
EXLOCK
}
are present in the
\module
{
os
}
module,
the
\function
{
lockf()
}
and
\function
{
flock()
}
the
\function
{
os.open()
}
function provides a more
functions, providing a more platform-independent file
platform-independent alternative to the
\function
{
lockf()
}
locking facility
.
}
and
\function
{
flock()
}
functions
.
}
\end{seealso}
\end{seealso}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment