File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 636636\item Both the \emph {mode } and \emph {value } parameters are optional. This means
637637that \emph {mode } has to be specified in order to set the initial value.
638638\item Named semaphore might appear on a file system. Usually in the form of
639- a node on virtual file system like \texttt {/dev/shm/ } on Linux.
639+ a node on virtual file system like \texttt {/dev/shm/ } on Linux (if mounted) .
640640\item \emph {\texttt {oflag } } can be a combination of only \texttt {O\_ CREAT } and
641641\texttt {O\_ EXCL }. If the semaphore already exists, an invocation with only
642642\texttt {O\_ CREAT } silently succeeds, \texttt {O\_ EXCL } will cause an error.
650650\item Example on POSIX semaphores (it is a fixed version of the previous example
651651\example {race/race.c} from page \pageref {RACE_C }):
652652\example {race/posix-sem-fixed-race.c}.
653- \item To list POSIX semaphores system wide on Linux, list the contents of
654- \texttt {/dev/shm } pseudo file system (if mounted).
655653\end {itemize }
656654
657655% %%%%
You can’t perform that action at this time.
0 commit comments