aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-05-15 15:35:02 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-05-15 15:43:20 +0200
commitfad1a267b7b0aa0530bf3af80cce1813a7a836af (patch)
tree02d80cda6578efd0a8274278a275dbe88559953c
parent85874d4c5305d16b24af4ed7bd0329c925f27d69 (diff)
downloadman-pages-fad1a267b7b0aa0530bf3af80cce1813a7a836af.tar.gz
pthread_setcancelstate.3: NOTES: Add some subheadings
(No content changes.) Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/pthread_setcancelstate.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/pthread_setcancelstate.3 b/man3/pthread_setcancelstate.3
index f684b128b6..0baed33264 100644
--- a/man3/pthread_setcancelstate.3
+++ b/man3/pthread_setcancelstate.3
@@ -129,7 +129,7 @@ that must not be interrupted by a cancellation request.
Beware of disabling cancelability for long periods,
or around operations that may block for long periods,
since that will render the thread unresponsive to cancellation requests.
-
+.SS Asynchronous cancelability
Setting the cancelability type to
.B PTHREAD_CANCEL_ASYNCHRONOUS
is rarely useful.
@@ -160,7 +160,7 @@ In general, other library functions
can't be safely called from an asynchronously cancelable thread.
One of the few circumstances in which asynchronous cancelability is useful
is for cancellation of a thread that is in a pure compute-bound loop.
-
+.SS Portability notes
The Linux threading implementations permit the
.I oldstate
argument of