sched

sched

Functions

Types and Values

#define pid_t
struct sched_param

Description

Functions

sched_get_priority_max ()

int
sched_get_priority_max (int policy);

sched_get_priority_min ()

int
sched_get_priority_min (int policy);

sched_getparam ()

int
sched_getparam (pid_t pid,
                struct sched_param *param);

sched_getscheduler ()

int
sched_getscheduler (pid_t pid);

sched_rr_get_interval ()

int
sched_rr_get_interval (pid_t pid,
                       struct timespec *interval);

sched_setparam ()

int
sched_setparam (pid_t pid,
                const struct sched_param *param);

sched_setscheduler ()

int
sched_setscheduler (pid_t pid,
                    int policy,
                    const struct sched_param *param);

sched_yield ()

int
sched_yield (void);

Types and Values

pid_t

#define             pid_t

struct sched_param

struct sched_param {
	int sched_priority;
};