summaryrefslogtreecommitdiffstats
path: root/man3/pthread_cleanup_push_defer_np.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_cleanup_push_defer_np.3')
-rw-r--r--man3/pthread_cleanup_push_defer_np.324
1 files changed, 12 insertions, 12 deletions
diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3
index f448a1896..a6b5de998 100644
--- a/man3/pthread_cleanup_push_defer_np.3
+++ b/man3/pthread_cleanup_push_defer_np.3
@@ -20,7 +20,7 @@ POSIX threads library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR pthread_cleanup_push_defer_np (),
@@ -30,26 +30,26 @@ Feature Test Macro Requirements for glibc (see
.fi
.SH DESCRIPTION
These functions are the same as
-.BR pthread_cleanup_push (3)
+.MR pthread_cleanup_push 3
and
-.BR pthread_cleanup_pop (3),
+.MR pthread_cleanup_pop 3 ,
except for the differences noted on this page.
.P
Like
-.BR pthread_cleanup_push (3),
+.MR pthread_cleanup_push 3 ,
.BR pthread_cleanup_push_defer_np ()
pushes
.I routine
onto the thread's stack of cancelation clean-up handlers.
In addition, it also saves the thread's current cancelability type,
and sets the cancelability type to "deferred" (see
-.BR pthread_setcanceltype (3));
+.MR pthread_setcanceltype 3 );
this ensures that cancelation clean-up will occur
even if the thread's cancelability type was "asynchronous"
before the call.
.P
Like
-.BR pthread_cleanup_pop (3),
+.MR pthread_cleanup_pop 3 ,
.BR pthread_cleanup_pop_restore_np ()
pops the top-most clean-up handler from the thread's
stack of cancelation clean-up handlers.
@@ -61,7 +61,7 @@ The caller must ensure that calls to these
functions are paired within the same function,
and at the same lexical nesting level.
Other restrictions apply, as described in
-.BR pthread_cleanup_push (3).
+.MR pthread_cleanup_push 3 .
.P
This sequence of calls:
.P
@@ -93,8 +93,8 @@ hence the suffix "_np" (nonportable) in the names.
.SH HISTORY
glibc 2.0
.SH SEE ALSO
-.BR pthread_cancel (3),
-.BR pthread_cleanup_push (3),
-.BR pthread_setcancelstate (3),
-.BR pthread_testcancel (3),
-.BR pthreads (7)
+.MR pthread_cancel 3 ,
+.MR pthread_cleanup_push 3 ,
+.MR pthread_setcancelstate 3 ,
+.MR pthread_testcancel 3 ,
+.MR pthreads 7