Skip to content

Commit 4b02fba

Browse files
committed
fix wording
1 parent 642d3f9 commit 4b02fba

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
@@ -1144,8 +1144,8 @@
11441144
the thread is woken up, the system will lock the mutex first (this will be done
11451145
by the condition variable implementation) and only after that
11461146
\texttt{pthread\_cond\_wait} will return.
1147-
\item When signalling that something has changed, it does not mean that after
1148-
the change the condition will be true. Moreover,
1147+
\item When a thread receives a signal that something has changed, it does not
1148+
mean that after the wake up the condition will be true. Moreover,
11491149
\texttt{pthread\_cond\_wait} can return even if no thread called
11501150
\texttt{pthread\_cond\_signal} or \texttt{pthread\_cond\_broadcast}.
11511151
This is another reason for testing the condition after wake-up and possibly

0 commit comments

Comments
 (0)