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

After research, We think pthread_cancel() is thread-safe. But, there
is not marking of pthread_cancel() in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-05-20 18:00:06 +08:00 committed by Michael Kerrisk
parent cdb9dd9e21
commit ed6d44f8b4
1 changed files with 13 additions and 0 deletions

View File

@ -122,6 +122,19 @@ No thread with the ID
could be found.
.\" .SH VERSIONS
.\" Available since glibc 2.0
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lb
l l l.
Interface Attribute Value
T{
.BR pthread_cancel ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES