IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

sched_get_priority_min (2)

GET_PRIORITY_MAX(2)        Linux Programmer's Manual       GET_PRIORITY_MAX(2)



NAME
       sched_get_priority_max,  sched_get_priority_min   - get static priority
       range

SYNOPSIS
       #include<sched.h>

       intsched_get_priority_max(int policy);

       intsched_get_priority_min(int policy);

DESCRIPTION
       sched_get_priority_max returns the maximum priority value that  can  be
       used    with   the   scheduling   algorithm   identified   by   policy.
       sched_get_priority_min returns the minimum priority value that  can  be
       used with the scheduling algorithm identified by policy. Supported pol-
       icy values are SCHED_FIFO, SCHED_RR, and SCHED_OTHER.

       Processes with numerically higher priority values are scheduled  before
       processes  with  numerically  lower  priority  values.  Thus, the value
       returned by sched_get_priority_max  will  be  greater  than  the  value
       returned by sched_get_priority_min.

       Linux allows the static priority value range 1 to 99 for SCHED_FIFO and
       SCHED_RR and the priority 0 for SCHED_OTHER. Scheduling priority ranges
       for the various policies are not alterable.

       The  range  of  scheduling  priorities may vary on other POSIX systems,
       thus it is a good idea for portable applications to use a virtual  pri-
       ority  range and map it to the interval given by sched_get_priority_max
       and sched_get_priority_min.  POSIX.1b requires a spread of at least  32
       between the maximum and the minimum values for SCHED_FIFO and SCHED_RR.

       POSIX systems  on  which  sched_get_priority_max  and  sched_get_prior-
       ity_min  are available define _POSIX_PRIORITY_SCHEDULING in <unistd.h>.


RETURNVALUE
       On success, sched_get_priority_max  and  sched_get_priority_min  return
       the maximum/minimum priority value for the named scheduling policy.  On
       error, -1 is returned, errno is set appropriately.

ERRORS
       EINVAL The parameter policy does not identify a defined scheduling pol-
              icy.

CONFORMINGTO
       POSIX.1b (formerly POSIX.4)

SEEALSO
       sched_setaffinity(2),    sched_getaffinity(2),   sched_setscheduler(2),
       sched_getscheduler(2), sched_setparam(2), sched_getparam(2)

       sched_setscheduler(2) has a description of the Linux scheduling scheme.

       Programming  for  the  real  world  -  POSIX.4  by Bill O. Gallmeister,
       O'Reilly & Associates, Inc., ISBN 1-56592-074-0
       IEEE Std 1003.1b-1993 (POSIX.1b standard)
       ISO/IEC 9945-1:1996



Linux 1.3.81                      1996-04-10               GET_PRIORITY_MAX(2)

_Exitgetsockoptoutwshmat
_exitgettidoutw_pshmctl
_llseekgettimeofdaypauseshmdt
_newselectgetuidpersonalityshmget
_sysctlgttypipeshmop
acceptidlepivot_rootshutdown
accessinbpollsigaction
acctinb_pprctlsigaltstack
adjtimexinlpreadsigblock
afs_syscallinl_pprofsiggetmask
alarminsbpselectsigmask
alloc_hugepagesinslptracesignal
arch_prctlinswpwritesigpause
bdflushintroquotactlsigpending
bindinwreadsigprocmask
breakinw_preaddirsigqueue
brkioctlreadlinksigreturn
cacheflushioctl_listreadvsigsetmask
capgetiopermrebootsigsuspend
capsetioplrecvsigtimedwait
chdiripcrecvfromsigvec
chmodkillrecvmsgsigwaitinfo
chownkillpgrenamesocket
chrootlchownrmdirsocketcall
clonelinksbrksocketpair
closelistensched_get_priority_maxssetmask
connectllseeksched_get_priority_minstat
creatlocksched_getaffinitystatfs
duplseeksched_getparamstime
dup2lstatsched_getschedulerstty
execvemadvisesched_rr_get_intervalswapoff
exitmincoresched_setaffinityswapon
fchdirmkdirsched_setparamsymlink
fchmodmknodsched_setschedulersync
fchownmlocksched_yieldsyscall
fcntlmlockallselectsyscalls
fdatasyncmmapselect_tutsysctl
flockmmap2semctlsysfs
forkmodify_ldtsemgetsysinfo
free_hugepagesmountsemopsyslog
fstatmprotectsendtime
fstatfsmpxsendfiletimes
fsyncmremapsendmsgtkill
ftruncatemsgctlsendtotruncate
futexmsggetsetcontextumask
getcontextmsgopsetdomainnameumount
getdentsmsgrcvsetegidumount2
getdomainnamemsgsndseteuiduname
getdtablesizemsyncsetfsgidundocumented
getegidmunlocksetfsuidunimplemented
geteuidmunlockallsetgidunlink
getgidmunmapsetgroupsuselib
getgroupsnanosleepsethostidustat
gethostidnfsservctlsethostnameutime
gethostnamenicesetitimerutimes
getitimerobsoletesetpgidvfork
getpagesizeoldfstatsetpgrpvhangup
getpeernameoldlstatsetpriorityvm86
getpgidoldoldunamesetregidwait
getpgrpoldstatsetresgidwait3
getpidoldunamesetresuidwait4
getppidopensetreuidwaitpid
getpriorityoutbsetrlimitwrite
getresgidoutb_psetsidwritev
getresuidoutlsetsockopt 
getrlimitoutl_psettimeofday 
getrusageoutsbsetuid 
getsidoutslsetup 


My Money 2.0.49
Personal financial software
Linux Kernel 2.6 2.6.32-rc8
Linux Kernel
GCstar 1.5.0
Personal collections manager
ImageMagick 6.5.7.9
ImageMagick image processing studio
BibleTime 2.4
Bible study software for Linux / KDE
PHP 5.3.1
Server-side, cross-platform, HTML embedded scripting language.
LFTP 4.0.4
Shell-like command line ftp client.
GNOME 2.29.2
GNOME desktop environment
Midgard 9.09.0
Web application development and publishing platform
Totem 2.28.4
Movie player for Gnome
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info