sched.h(3HEAD) Headers sched.h(3HEAD)NAME
sched.h, sched - execution scheduling
SYNOPSIS
#include <sched.h>
DESCRIPTION
The <sched.h> header defines the sched_param structure, which contains the scheduling parameters required for implementation of each sup-
ported scheduling policy. This structure contains the following member:
int sched_priority process execution scheduling priority
Each process is controlled by an associated scheduling policy and priority. Associated with each policy is a priority range. Each policy
definition specifies the minimum priority range for that policy. The priority ranges for each policy may overlap the priority ranges of
other policies.
The scheduling policies are indicated by the values of the following symbolic constants:
SCHED_FIFO Processes are scheduled according to the First-In-First-Out (FIFO) policy. Processes scheduled to this policy, if not pre-
empted by a higher priority or interrupted by a signal, will proceed until completion.
SCHED_RR Processes are scheduled according to the Round-Robin (RR) policy. Processes scheduled to this policy, if not pre-empted by
a higher priority or interrupted by a signal, will execute for a time period, returned by sched_rr_get_interval(3RT) or by
the system.
SCHED_IA Processes are scheduled according to the Inter-Active Class (IA) policy as described in priocntl(2).
SCHED_OTHER Processes are scheduled according to another policy not described above.
The values of these constants are distinct.
Inclusion of the <sched.h> header will make visible symbols defined in the header <time.h>.
SEE ALSO priocntl(2), sched_rr_get_interval(3RT), time.h(3HEAD)SunOS 5.10 4 Oct 2001 sched.h(3HEAD)
Check Out this Related Man Page
sched.h(3HEAD) Headers sched.h(3HEAD)NAME
sched.h, sched - execution scheduling
SYNOPSIS
#include <sched.h>
DESCRIPTION
The <sched.h> header defines the sched_param structure, which contains the scheduling parameters required for implementation of each sup-
ported scheduling policy. This structure contains the following member:
int sched_priority process execution scheduling priority
Each process is controlled by an associated scheduling policy and priority. Associated with each policy is a priority range. Each policy
definition specifies the minimum priority range for that policy. The priority ranges for each policy may overlap the priority ranges of
other policies.
The scheduling policies are indicated by the values of the following symbolic constants:
SCHED_FIFO Processes are scheduled according to the First-In-First-Out (FIFO) policy. Processes scheduled to this policy, if not pre-
empted by a higher priority or interrupted by a signal, will proceed until completion.
SCHED_RR Processes are scheduled according to the Round-Robin (RR) policy. Processes scheduled to this policy, if not pre-empted by
a higher priority or interrupted by a signal, will execute for a time period, returned by sched_rr_get_interval(3RT) or by
the system.
SCHED_IA Processes are scheduled according to the Inter-Active Class (IA) policy as described in priocntl(2).
SCHED_OTHER Processes are scheduled according to another policy not described above.
The values of these constants are distinct.
Inclusion of the <sched.h> header will make visible symbols defined in the header <time.h>.
SEE ALSO priocntl(2), sched_rr_get_interval(3RT), time.h(3HEAD)SunOS 5.10 4 Oct 2001 sched.h(3HEAD)
I try to compile program which use request_irq function declarated in linux/sched.h but it bring a lot of errors relating to include directives in sched.h.
I try on Mandrake7.2 and RedHat7.2 but result same.
A lot of thanks for your answers. (2 Replies)
Hi All
I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is:
Code:
James Hallan
PID TTY TIME CMD
31799 pts/3 00:00:00 vim ... (2 Replies)
I am in an operating system class at my college and recently we have been modifying the Pintos operating system in C. I have eliminated the Round Robin Scheduling and implemented priority scheduling just fine but now I have hit a wall on how to implement Advanced Scheduling and was hoping anyone... (1 Reply)