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

The function pthread_kill() 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-13 11:35:47 +08:00 committed by Michael Kerrisk
parent aaa53a891d
commit 4e1cc6450f
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. .\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END .\" %%%LICENSE_END
.\" .\"
.TH PTHREAD_KILL 3 2014-02-04 "Linux" "Linux Programmer's Manual" .TH PTHREAD_KILL 3 2014-05-13 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
pthread_kill \- send a signal to a thread pthread_kill \- send a signal to a thread
.SH SYNOPSIS .SH SYNOPSIS
@ -69,6 +69,11 @@ on error, it returns an error number, and no signal is sent.
.TP .TP
.B EINVAL .B EINVAL
An invalid signal was specified. An invalid signal was specified.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR pthread_kill ()
function is thread-safe.
.SH CONFORMING TO .SH CONFORMING TO
POSIX.1-2008. POSIX.1-2008.
.SH NOTES .SH NOTES