Skip to content

Commit a2ace36

Browse files
committed
rephrase
1 parent 88773a7 commit a2ace36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synchro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@
316316
\item Another \emsl{problem} is that the \texttt{lock()} function above contains
317317
active waiting.
318318
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.
319+
named pipe for writing. The processes that fail to acquire the lock (i.e.~create
320+
the file exclusively) will enter sleep by reading from the pipe.
321321
The \texttt{unlock()} will close the pipe and so the waiting processes will
322322
be unblocked. See \example{pipe/countdown.c} for example with one reader.
323323
\item Lock files are usually used for situations where multiple instances of

0 commit comments

Comments
 (0)