diff options
Diffstat (limited to 'usr/src/man/man3c/thrd_detach.3c')
-rw-r--r-- | usr/src/man/man3c/thrd_detach.3c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/src/man/man3c/thrd_detach.3c b/usr/src/man/man3c/thrd_detach.3c index 8749b53c1b..4f19042c2c 100644 --- a/usr/src/man/man3c/thrd_detach.3c +++ b/usr/src/man/man3c/thrd_detach.3c @@ -28,17 +28,19 @@ The .Fn thrd_detach function causes a thread to be considered detached from the rest of the -execution environment. While detached threads are still fully -observable, they cannot be joined with, calls to +execution environment. +While detached threads are still fully observable, they cannot be joined with, +calls to .Fn thrd_join -will fail. In addition, if all non-detached -threads have terminated, the program will terminate; detached threads -cannot keep a program running. The act of calling +will fail. +In addition, if all non-detached threads have terminated, the program will +terminate; detached threads cannot keep a program running. +The act of calling .Fn thrd_detach on a thread does not cause it to terminate. .Sh RETURN VALUES Upon successful completion, the -.Xr thrd_detach +.Xr thrd_detach 3C function returns .Sy thrd_success . Otherwise, it returns |