Skip to content

Commit 166846a

Browse files
committed
adjust wording
1 parent df27090 commit 166846a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

threads.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,9 @@
431431
\end{slide}
432432

433433
\begin{itemize}
434-
\item In program itself you will probably not need this function. You can
435-
just call the initialization function before you create the first thread.
434+
\item This function is primarily meant to be used in libraries and rarely
435+
needed in a program. In the latter case, the initialization function can be
436+
called before the first thread is created.
436437
\item The behavior is undefined if \emph{once\_control} is a local variable or
437438
does not have an expected value.
438439
\item This is handy for lazy initialization, i.e. only after one of the threads

0 commit comments

Comments
 (0)