VMS Help
POSIX Threads, PTHREAD routines, sched_get_priority_min
*Conan The Librarian
|
Returns the minimum priority for the specified scheduling policy.
Syntax
sched_get_priority_min(
policy);
Argument Data Type Access
policy integer read
#include <sched.h>
int
sched_get_priority_min (
int policy);
policy
One of the scheduling policies, as defined in sched.h.
This routine returns the minimum priority for the scheduling
policy specified in the policy argument. The argument value
must be one of the scheduling policies (SCHED_FIFO, SCHED_RR,
or SCHED_OTHER), as defined in the sched.h header file.
No special privileges are required to use this routine.
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
[EINVAL] The value of the policy argument does not represent a
defined scheduling policy.