File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 620620\end {minipage }
621621]]])
622622\begin {itemize }
623- \item creates or opens a new POSIX semaphore. \emph {mode } is same as for
624- \funnm {open}(). Use `` \texttt {/somename }'' for the \emph {name }.
623+ \item creates or opens a new POSIX semaphore.
625624\end {itemize }
626625ifdef([[[NOSPELLCHECK]]], [[[
627626\texttt {int \funnm {sem\_ wait}(sem\_ t *\emph {sem }); }
639638ifdef([[[NOSPELLCHECK]]], [[[
640639\texttt {int \funnm {sem\_ close}(sem\_ t *\emph {sem }); }
641640]]])
641+ ifdef([[[NOSPELLCHECK]]], [[[
642+ \texttt {int \funnm {sem\_ unlink}(sem\_ t *\emph {sem }); }
643+ ]]])
642644\begin {itemize }
643645\item close \emph {\texttt {sem } }, free its resources allocated to \emsl {this}
644- process.
646+ process or \emsl {system}, respectively .
645647\end {itemize }
646648\end {slide }
647649
648650\begin {itemize }
649651\item The POSIX semaphore APIs are part of the \emph {POSIX Realtime Extension }
650652and are optional. For example, macOS supports only named POSIX semaphores.
651- \item \emph {value } is the initial semaphore value
653+ \item \emph {mode } is same as for \funnm {open}(). Use `` \texttt {/somename }''
654+ for the \emph {name }. \item \emph {value } is the initial semaphore value.
652655\item Both the \emph {mode } and \emph {value } parameters are optional. This means
653656that \emph {mode } has to be specified in order to set the initial value.
654657\item Named semaphore might appear on a file system. Usually in the form of
You can’t perform that action at this time.
0 commit comments