aboutsummaryrefslogtreecommitdiff
path: root/man/man3/thread.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/thread.3')
-rw-r--r--man/man3/thread.38
1 files changed, 8 insertions, 0 deletions
diff --git a/man/man3/thread.3 b/man/man3/thread.3
index 0ebbddd0..9088ae2e 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -169,6 +169,14 @@ initialized to the desired value
.B mainstacksize
.B =
.BR 1024 ).
+When using the
+.I pthread
+library,
+.B mainstacksize
+is ignored, as is the stack size argument to
+.BR proccreate :
+the first thread in each proc
+runs on the native system stack.
.PP
.I Threadcreate
creates a new thread in the calling proc, returning a unique integer