diff options
Diffstat (limited to 'man3/pthread_detach.3')
-rw-r--r-- | man3/pthread_detach.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/man3/pthread_detach.3 b/man3/pthread_detach.3 index d8b02ed86..1b7cba9a2 100644 --- a/man3/pthread_detach.3 +++ b/man3/pthread_detach.3 @@ -45,7 +45,7 @@ No thread with the ID could be found. .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lbx lb lb @@ -63,25 +63,25 @@ POSIX.1-2008. POSIX.1-2001. .SH NOTES Once a thread has been detached, it can't be joined with -.BR pthread_join (3) +.MR pthread_join 3 or be made joinable again. .P A new thread can be created in a detached state using -.BR pthread_attr_setdetachstate (3) +.MR pthread_attr_setdetachstate 3 to set the detached attribute of the .I attr argument of -.BR pthread_create (3). +.MR pthread_create 3 . .P The detached attribute merely determines the behavior of the system when the thread terminates; it does not prevent the thread from being terminated if the process terminates using -.BR exit (3) +.MR exit 3 (or equivalently, if the main thread returns). .P Either -.BR pthread_join (3) +.MR pthread_join 3 or .BR pthread_detach () should be called for each thread that an application creates, @@ -97,9 +97,9 @@ pthread_detach(pthread_self()); .EE .in .SH SEE ALSO -.BR pthread_attr_setdetachstate (3), -.BR pthread_cancel (3), -.BR pthread_create (3), -.BR pthread_exit (3), -.BR pthread_join (3), -.BR pthreads (7) +.MR pthread_attr_setdetachstate 3 , +.MR pthread_cancel 3 , +.MR pthread_create 3 , +.MR pthread_exit 3 , +.MR pthread_join 3 , +.MR pthreads 7 |