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 a865a03 commit a29784eCopy full SHA for a29784e
synchro.tex
@@ -632,6 +632,11 @@
632
\end{slide}
633
634
\begin{itemize}
635
+\item \emph{value} is the initial semaphore value
636
+\item Both the \emph{mode} and \emph{value} parameters are optional. This means
637
+that \emph{mode} has to be specified in order to set the initial value.
638
+\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.
640
\item \emph{\texttt{oflag}} can be a combination of only \texttt{O\_CREAT} and
641
\texttt{O\_EXCL}. If the semaphore already exists, an invocation with only
642
\texttt{O\_CREAT} silently succeeds, \texttt{O\_EXCL} will cause an error.
0 commit comments