From 4e1cc6450fd47b95ed560485341d7d008cd45e56 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Tue, 13 May 2014 11:35:47 +0800 Subject: [PATCH] pthread_kill.3: ATTRIBUTES: Note function that is thread-safe The function pthread_kill() is thread safe. Signed-off-by: Peng Haitao Signed-off-by: Michael Kerrisk --- man3/pthread_kill.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man3/pthread_kill.3 b/man3/pthread_kill.3 index 82c3978a1..5c1d0c48f 100644 --- a/man3/pthread_kill.3 +++ b/man3/pthread_kill.3 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" %%%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 pthread_kill \- send a signal to a thread .SH SYNOPSIS @@ -69,6 +69,11 @@ on error, it returns an error number, and no signal is sent. .TP .B EINVAL An invalid signal was specified. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR pthread_kill () +function is thread-safe. .SH CONFORMING TO POSIX.1-2008. .SH NOTES