.\" 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-28 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_setschedprio \- set scheduling priority of a thread
.SH SYNOPSIS
.nf
.B #include <pthread.h>
-.BI "pthread_setschedprio(pthread_t " thread ", int " prio );
+.BI "int pthread_setschedprio(pthread_t " thread ", int " prio );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.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
changing a thread's scheduling priority,
and details of the permitted ranges for priorities
in each scheduling policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
.SH SEE ALSO
.ad l
.nh
.BR getrlimit (2),
.BR sched_get_priority_min (2),
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setinheritsched (3),
.BR pthread_attr_setschedparam (3),
.BR pthread_create (3),
.BR pthread_self (3),
.BR pthread_setschedparam (3),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.