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

The function pthread_setschedprio() 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 10:10:20 +08:00 committed by Michael Kerrisk
parent 18c9919b48
commit 49a933b01e
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_SETSCHEDPRIO 3 2008-11-06 "Linux" "Linux Programmer's Manual" .TH PTHREAD_SETSCHEDPRIO 3 2014-05-19 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
pthread_setschedprio \- set scheduling priority of a thread pthread_setschedprio \- set scheduling priority of a thread
.SH SYNOPSIS .SH SYNOPSIS
@ -80,6 +80,11 @@ to an unsupported value") error for
.BR pthread_setschedparam (3). .BR pthread_setschedparam (3).
.SH VERSIONS .SH VERSIONS
This function is available in glibc since version 2.3.4. 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 .SH CONFORMING TO
POSIX.1-2001. POSIX.1-2001.
.SH NOTES .SH NOTES