File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 303303\item value of \texttt {errno }
304304\item thread specific data -- a pair of
305305ifdef([[[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
319317increase.} It is usually anywhere from 64 kilobytes to a few megabytes. If you
320318cross that limit, the program will quite probably crash. If you want a stack of
323321Example: \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% %%%%
You can’t perform that action at this time.
0 commit comments