We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd92c18 commit 9169e2cCopy full SHA for 9169e2c
synchro.tex
@@ -425,6 +425,10 @@
425
update, and then calls \texttt{getpwnam}(3) to retrieve a record,
426
the lock will be lost because \texttt{getpwnam}(3) opens, reads, and
427
closes the password database.}
428
+
429
+Linux contains a different kind of locking called \emph{Open file description
430
+locks} that avoids this problem (the per file descriptor locks are released
431
+only on the last close), however does not provide deadlock detection.
432
\item The \texttt{lockf} function (SUSv3) is simpler variant of
433
\texttt{fcntl}, specifies only how to lock and how many bytes from the current
434
position in the file. Very often implemented as \texttt{fcntl} wrapper.
0 commit comments