diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2017-05-29 03:56:19 +0300 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2017-06-07 11:12:34 -0400 |
commit | 72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2 (patch) | |
tree | b1e1409d1dc0ac3c433224c0cde7c97d01e98d5c /usr/src/man/man3c/thrd_create.3c | |
parent | cb4d790db8fe85bce9f9647fe4e1bdc274c7af1c (diff) | |
download | illumos-gate-72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2.tar.gz |
8300 fix man page issues found by mandoc 1.14.1
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man3c/thrd_create.3c')
-rw-r--r-- | usr/src/man/man3c/thrd_create.3c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/usr/src/man/man3c/thrd_create.3c b/usr/src/man/man3c/thrd_create.3c index ffaf9bf11c..fd31e740b7 100644 --- a/usr/src/man/man3c/thrd_create.3c +++ b/usr/src/man/man3c/thrd_create.3c @@ -39,11 +39,11 @@ When a thread is created, it begins its execution at the function with the argument .Fa arg . A created thread has access to all global data within a process; -however, it has its own private stack. Currently 32-bit processes have a -default stack of 1 megabyte, while 64-bit systems have a default stack -size of 2 megabytes. In addition, newly created threads inherit the -signal mask of the thread which created them; however, they do not -inherit any pending signals. +however, it has its own private stack. +Currently 32-bit processes have a default stack of 1 megabyte, while 64-bit +systems have a default stack size of 2 megabytes. +In addition, newly created threads inherit the signal mask of the thread which +created them; however, they do not inherit any pending signals. .Pp Once created, a thread will continue to execute until either, it returns from its initial function, the thread explicitly calls @@ -51,9 +51,9 @@ from its initial function, the thread explicitly calls or the process itself terminates, such as with a call to .Xr exit 2 . When the initial function returns, it behaves as though a call to -.Xr thrd_exit +.Xr thrd_exit 3C was made, and, if the thread has not been detached with a call to -.Xr thrd_detach, +.Xr thrd_detach 3C , the exit status remains available and the corresponding thread ID will not be reused until a process calls .Xr thrd_join 3C . @@ -74,7 +74,8 @@ function returns .Sy thrd_success . If insufficient memory was available, then .Sy thrd_nomem -is returned. Otherwise, +is returned. +Otherwise, .Sy thrd_error is returned, indicating that a non-memory related error. .Sh INTERFACE STABILITY |