From 49a933b01e66721f2dbe6261024ceb37e8603b3a Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Mon, 19 May 2014 10:10:20 +0800 Subject: [PATCH] pthread_setschedprio.3: ATTRIBUTES: Note function that is thread-safe The function pthread_setschedprio() is thread safe. Signed-off-by: Peng Haitao Signed-off-by: Michael Kerrisk --- man3/pthread_setschedprio.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3 index 6910f609e..334c4566b 100644 --- a/man3/pthread_setschedprio.3 +++ b/man3/pthread_setschedprio.3 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" -.TH PTHREAD_SETSCHEDPRIO 3 2008-11-06 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_SETSCHEDPRIO 3 2014-05-19 "Linux" "Linux Programmer's Manual" .SH NAME pthread_setschedprio \- set scheduling priority of a thread .SH SYNOPSIS @@ -80,6 +80,11 @@ to an unsupported value") error for .BR pthread_setschedparam (3). .SH VERSIONS This function is available in glibc since version 2.3.4. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR pthread_setschedprio () +function is thread-safe. .SH CONFORMING TO POSIX.1-2001. .SH NOTES