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 88773a7 commit a2ace36Copy full SHA for a2ace36
synchro.tex
@@ -316,8 +316,8 @@
316
\item Another \emsl{problem} is that the \texttt{lock()} function above contains
317
active waiting.
318
This can be solved e.g. so that the process that acquired the lock can open
319
-named pipe for writing. Reader processes will enter sleep by reading from the
320
-pipe.
+named pipe for writing. The processes that fail to acquire the lock (i.e.~create
+the file exclusively) will enter sleep by reading from the pipe.
321
The \texttt{unlock()} will close the pipe and so the waiting processes will
322
be unblocked. See \example{pipe/countdown.c} for example with one reader.
323
\item Lock files are usually used for situations where multiple instances of
0 commit comments