*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/sched_rr_get_interval (2)              
Title
Content
Arch
Section
 

Contents


sched_rr_get_interval(2)			      sched_rr_get_interval(2)


NAME    [Toc]    [Back]

     sched_rr_get_interval - get round robin scheduling	interval

C SYNOPSIS    [Toc]    [Back]

     #include <sched.h>

     int sched_rr_get_interval (pid_t pid<b>, struct timespec *interval<b>)

DESCRIPTION    [Toc]    [Back]

     sched_rr_get_interval stores the round robin scheduling interval at
     address interval for the process named by pid. If pid is set to zero,
     then sched_rr_get_interval	obtains	the interval for the calling process.

     sched_rr_get_interval will	fail if	one or more of the following are true:

     [EFAULT]	    The	address	specified by interval is outside the range of
		    the	caller's address space.

     [EPERM]	    The	calling	process	attempted to obtain the	scheduling
		    interval of	an unrelated process and the caller does not
		    have the CAP_SCHED_MGT capability.

     [ESRCH]	    The	process	named by pid does not exist.

SEE ALSO    [Toc]    [Back]

      
      
     sched_get_priority_max(2),	sched_get_priority_min(2), sched_getparam(2),
     sched_setparam(2),	sched_setscheduler(2), sched_yield(2)

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion, a value of 0 is returned to the calling
     process. Otherwise, a value of -1 is returned and errno is	set to
     indicate the error.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
schedclock FreeBSD perform round-robin scheduling of runnable processes
setrunnable FreeBSD perform round-robin scheduling of runnable processes
schedcpu FreeBSD perform round-robin scheduling of runnable processes
sched_setup FreeBSD perform round-robin scheduling of runnable processes
roundrobin_interval FreeBSD perform round-robin scheduling of runnable processes
roundrobin FreeBSD perform round-robin scheduling of runnable processes
resetpriority FreeBSD perform round-robin scheduling of runnable processes
maybe_resched FreeBSD perform round-robin scheduling of runnable processes
curpriority_cmp FreeBSD perform round-robin scheduling of runnable processes
scheduler FreeBSD perform round-robin scheduling of runnable processes
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service