summaryrefslogtreecommitdiff
path: root/Doc/lib/libthreading.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libthreading.tex')
-rw-r--r--Doc/lib/libthreading.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libthreading.tex b/Doc/lib/libthreading.tex
index 86330a712e..49824621bb 100644
--- a/Doc/lib/libthreading.tex
+++ b/Doc/lib/libthreading.tex
@@ -131,9 +131,9 @@ optional \var{size} argument specifies the stack size to be used for
subsequently created threads, and must be 0 (use platform or
configured default) or a positive integer value of at least 32,768 (32kB).
If changing the thread stack size is unsupported, or the specified size
-is invalid, a RuntimeWarning is issued and the stack size is unmodified.
-32kB is currently the minimum supported stack size value, to guarantee
-sufficient stack space for the interpreter itself.
+is invalid, a \exception{RuntimeWarning} is issued and the stack size is
+unmodified. 32kB is currently the minimum supported stack size value,
+to guarantee sufficient stack space for the interpreter itself.
Note that some platforms may have particular restrictions on values for
the stack size, such as requiring allocation in multiples of the system
memory page size - platform documentation should be referred to for more