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 55f36f0 commit 2a368aeCopy full SHA for 2a368ae
threads.tex
@@ -324,7 +324,8 @@
324
increase.} It is usually anywhere from 64 kilobytes to a few megabytes. If you
325
cross that limit, the program will quite probably crash. If you want a stack of
326
a greater size than what is the system default, you have to use
327
-\emph{\texttt{attr}} when creating a thread.
+set the stack size via an attribute when creating a thread.
328
+The attribute is set using the \funnm{pthread\_attr\_setstacksize}() function.
329
Example: \example{pthreads/pthread-stack-overflow.c}
330
\item You can read more about thread specific data on page
331
\pageref{THREAD_SPECIFIC_DATA}.
0 commit comments