diff options
Diffstat (limited to 'man3/pthread_cancel.3')
-rw-r--r-- | man3/pthread_cancel.3 | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/man3/pthread_cancel.3 b/man3/pthread_cancel.3 index 3fef2f1c5..cc728cbb1 100644 --- a/man3/pthread_cancel.3 +++ b/man3/pthread_cancel.3 @@ -30,7 +30,7 @@ and .IR type . .P A thread's cancelability state, determined by -.BR pthread_setcancelstate (3), +.MR pthread_setcancelstate 3 , can be .I enabled (the default for new threads) or @@ -42,7 +42,7 @@ If a thread has enabled cancelation, then its cancelability type determines when cancelation occurs. .P A thread's cancelation type, determined by -.BR pthread_setcanceltype (3), +.MR pthread_setcanceltype 3 , may be either .I asynchronous or @@ -55,7 +55,7 @@ Deferred cancelability means that cancelation will be delayed until the thread next calls a function that is a .IR "cancelation point" . A list of functions that are or may be cancelation points is provided in -.BR pthreads (7). +.MR pthreads 7 . .P When a cancelation requested is acted on, the following steps occur for .I thread @@ -64,16 +64,16 @@ When a cancelation requested is acted on, the following steps occur for Cancelation clean-up handlers are popped (in the reverse of the order in which they were pushed) and called. (See -.BR pthread_cleanup_push (3).) +.MR pthread_cleanup_push 3 .) .IP (2) Thread-specific data destructors are called, in an unspecified order. (See -.BR pthread_key_create (3).) +.MR pthread_key_create 3 .) .IP (3) The thread is terminated. (See -.BR pthread_exit (3).) +.MR pthread_exit 3 .) .P The above steps happen asynchronously with respect to the .BR pthread_cancel () @@ -85,7 +85,7 @@ was successfully queued. .P After a canceled thread has terminated, a join with that thread using -.BR pthread_join (3) +.MR pthread_join 3 obtains .B PTHREAD_CANCELED as the thread's exit status. @@ -104,7 +104,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 @@ -226,12 +226,12 @@ main(void) .SH SEE ALSO .ad l .nh -.BR pthread_cleanup_push (3), -.BR pthread_create (3), -.BR pthread_exit (3), -.BR pthread_join (3), -.BR pthread_key_create (3), -.BR pthread_setcancelstate (3), -.BR pthread_setcanceltype (3), -.BR pthread_testcancel (3), -.BR pthreads (7) +.MR pthread_cleanup_push 3 , +.MR pthread_create 3 , +.MR pthread_exit 3 , +.MR pthread_join 3 , +.MR pthread_key_create 3 , +.MR pthread_setcancelstate 3 , +.MR pthread_setcanceltype 3 , +.MR pthread_testcancel 3 , +.MR pthreads 7 |