sched_get_priority_max man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



sched_get_priority_max(2)			     sched_get_priority_max(2)

NAME
     sched_get_priority_max, sched_get_priority_min - get scheduling policy
     priority range

C SYNOPSIS
     #include <sched.h>
     int sched_get_priority_max (int policy);
     int sched_get_priority_min (int policy);

DESCRIPTION
     sched_get_priority_max and sched_get_priority_min return the maximum and
     minimum priority values, respectively, for the specified scheduling
     policy:

     SCHED_FIFO
	     The first-in-first-out real-time policy

     SCHED_RR
	     The round-robin real-time scheduling policy

     SCHED_TS
	     The timeshare earnings based scheduling policy

     SCHED_OTHER
	     The scheduling policy is equivalent to the SCHED_TS

     Unlike IRIX 6.2 and earlier releases, processes having a higher numerical
     priority value are more important than processes having a lower numerical
     priority value.

     Arbitrary priority values within the range should not be used.
     Developers must consider the needs of the application and how it should
     interact with the rest of the system, before selecting a real-time
     priority.	To aid in this decision, the priorities of the system threads
     should be considered. See the "Real-Time Priority Band" section of
     realtime(5) for more detailed information.

     sched_get_priority_max and sched_get_priority_min will fail if the
     following is true:

     [EINVAL]	    The policy argument does not represent a valid scheduling
		    policy.

SEE ALSO
     realtime(5), sched_setparam(2), sched_getparam(2), sched_setscheduler(2),
     sched_yield(2), sched_rr_get_interval(2)

DIAGNOSTICS
     Upon successful completion, the scheduling priority maximum or minimum
     for policy is returned to the calling process.  Otherwise, a value of -1
     is returned and errno is set to indicate the error.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net