We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df27090 commit 166846aCopy full SHA for 166846a
threads.tex
@@ -431,8 +431,9 @@
431
\end{slide}
432
433
\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.
+\item This function is primarily meant to be used in libraries and rarely
+needed in a program. In the latter case, the initialization function can be
436
+called before the first thread is created.
437
\item The behavior is undefined if \emph{once\_control} is a local variable or
438
does not have an expected value.
439
\item This is handy for lazy initialization, i.e. only after one of the threads
0 commit comments