*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sched_rr_get_interval | Section: 3 | Source: Digital UNIX | File: sched_rr_get_interval.3.gz
sched_rr_get_interval(3) Library Functions Manual sched_rr_get_interval(3) NAME sched_rr_get_interval - Return the current quantum for process execu- tion under the SCHED_RR policy (P1003.1b) SYNOPSIS #include <sched.h> int sched_rr_get_interval ( pid_t pid, struct timespec *interval); PARAMETERS pid Specifies the process for which the quantum is returned. *interval The current quantum for process execution under the SCHED_RR scheduling policy. DESCRIPTION The sched_rr_get_interval function updates the timespec structure ref- erenced by the interval argument to contain the current quantum for the process executing under the SCHED_RR policy. If a process, running un- der the round-robin scheduling policy, runs without blocking or yield- ing for more than this amount of time, it may be preempted by another runnable process (at the same priority). If the PID argument is zero, the current execution time limit for the calling process is returned. No special privileges are needed to use the sched_rr_get_interval func- tion. RETURN VALUES On a successful call, a value of 0 is returned. On an unsuccessful call, a value of -1 is returned and errno is set to indicate the error. ERRORS The sched_rr_get_interval fails under the following condition: [ESRCH] The value of the pid parameter does not indicate an ex- isting process. RELATED INFORMATION Functions: sched_getparam(3), sched_getscheduler(3), sched_setparam(3), sched_setscheduler(3) delim off sched_rr_get_interval(3)

Navigation Options