This attribute determines the scheduling policy of
a thread created using the thread attributes object
.IR attr .
-
+.PP
The supported values for
.I policy
are
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
-
+.PP
The
.BR pthread_attr_getschedpolicy ()
returns the scheduling policy attribute of the thread attributes object
.IR attr
in the buffer pointed to by
.IR policy .
-
+.PP
In order for the policy setting made by
.BR pthread_attr_setschedpolicy ()
to have effect when calling