Skip to content

Commit b70e397

Browse files
author
Vladimir Kotal
committed
fix wording
1 parent 6bdef2b commit b70e397

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
@@ -433,8 +433,8 @@
433433
\begin{itemize}
434434
\item In program itself you will probably not need this function. You can
435435
just call the initialization function before you create the first thread.
436-
\item It is undefined if \emph{once\_control} is a local variable or does not
437-
have an expected value.
436+
\item The behavior is undefined if \emph{once\_control} is a local variable or
437+
does not have an expected value.
438438
\item This is handy for lazy initialization, i.e. only after one of the threads
439439
call into APIs of the library (as opposed to when the library is being loaded),
440440
the library becomes initialized and the semantics of \texttt{pthread\_once}

0 commit comments

Comments
 (0)