Skip to content

Commit 6f5999b

Browse files
author
Vladimir Kotal
committed
more on np
1 parent 4be4dec commit 6f5999b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@
15191519
\item non-portable APIs have the \texttt{\_np} suffix (\emph{non-portable}) and
15201520
individual systems define their own calls.
15211521

1522-
\item FreeBSD + Solaris
1522+
\item FreeBSD, Solaris
15231523
\begin{itemize}
15241524
\item \funnm{pthread\_set\_name\_np}\texttt{(pthread\_t tid, const char *name)}
15251525
\item[$\rightarrow$] can give a name to a thread
@@ -1531,7 +1531,7 @@
15311531
\item[$\rightarrow$] like \texttt{timedwait}, however the timeout is relative
15321532
\end{itemize}
15331533

1534-
\item OpenBSD
1534+
\item OpenBSD, macOS
15351535
\begin{itemize}
15361536
\item \texttt{int} \funnm{pthread\_main\_np}\texttt{(void)}
15371537
\item[$\rightarrow$] find out if calling thread is the main one

0 commit comments

Comments
 (0)