pthread_testcancel.3: ATTRIBUTES: Note function that is thread-safe

The function pthread_testcancel() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2014-05-19 14:39:13 +08:00 committed by Michael Kerrisk
parent 6328c024d9
commit f0151ef15a
1 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.TH PTHREAD_TESTCANCEL 3 2012-04-14 "Linux" "Linux Programmer's Manual"
.TH PTHREAD_TESTCANCEL 3 2014-05-19 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_testcancel \- request delivery of any pending cancellation request
.SH SYNOPSIS
@ -55,6 +55,11 @@ to this function, then the function does not return.
This function always succeeds.
.\" SH VERSIONS
.\" Available since glibc 2.0
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR pthread_testcancel ()
function is thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH EXAMPLE