Skip to content

Commit 30d5708

Browse files
author
Vladimir Kotal
committed
fix wording
1 parent 8774750 commit 30d5708

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
@@ -360,8 +360,8 @@
360360
\begin{itemize}
361361
\item If \funnm{pthread\_exit}() is not used, it is implicitly called when the
362362
thread terminates with the value from the function \texttt{return}.
363-
\item The contents the finishing thread stack is undefined so you should not use
364-
pointers to the function local variables from memory pointed to by
363+
\item The contents of the exiting thread's stack are undefined so you should
364+
not use pointers to the function local variables from memory pointed to by
365365
\emph{\texttt{val\_ptr}}.
366366
\item If you do not intend to call \funnm{pthread\_join}(), you need to call
367367
\funnm{pthread\_det\-ach}() or use the attributes (see below). If you do not, a

0 commit comments

Comments
 (0)