Skip to content

Commit 8774750

Browse files
author
Vladimir Kotal
committed
simplify thread private attrs slide
1 parent 84e3aef commit 8774750

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

threads.tex

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,16 @@
303303
\item value of \texttt{errno}
304304
\item thread specific data -- a pair of
305305
ifdef([[[NOSPELLCHECK]]], [[[
306-
\texttt{(pthread\_key\_t \emph{key}, void *\emph{ptr})}
306+
\texttt{(pthread\_key\_t \emph{key}, void *\emph{ptr})}
307307
]]])
308-
\begin{itemize}
309-
\item a key created by \funnm{pthread\_key\_create}() is visible from all
310-
threads
311-
\item in every thread the key may be associated with a different value via
312-
\funnm{pthread\_setspecific}()
313-
\end{itemize}
308+
\item signal mask
314309
\end{itemize}
315310
\end{slide}
316311

317312
\begin{itemize}
313+
\item a key created by \funnm{pthread\_key\_create}() is visible from all
314+
threads. In every thread the key may be associated with a different value via
315+
\funnm{pthread\_setspecific}()
318316
\item Each thread has a fixed size stack which \emsl{does not automatically
319317
increase.} It is usually anywhere from 64 kilobytes to a few megabytes. If you
320318
cross that limit, the program will quite probably crash. If you want a stack of
@@ -323,8 +321,7 @@
323321
Example: \example{pthreads/pthread-stack-overflow.c}
324322
\item You can read more about thread specific data on page
325323
\pageref{THREAD_SPECIFIC_DATA}.
326-
\item Each thread also has its own signal mask. More on that on page
327-
\pageref{PTHREADSIGMASK}.
324+
\item More on per thread signal mask is on page \pageref{PTHREADSIGMASK}.
328325
\end{itemize}
329326

330327
%%%%%

0 commit comments

Comments
 (0)