rtsched.2 (2010 09)

r
rtsched(2) rtsched(2)
NAME
rtsched: sched_get_priority_max(), sched_get_priority_min(), sched_getparam(), sched_getscheduler(),
sched_rr_get_interval(), sched_setparam(), sched_setscheduler(), sched_yield(), PRI_HPUX_TO_POSIX(),
PRI_POSIX_TO_HPUX() - real-time scheduling operations
SYNOPSIS
#include <sched.h>
int sched_setparam(
pid_t pid,
const struct sched_param *param
);
int sched_getparam(
pid_t pid,
struct sched_param *param
);
int sched_setscheduler(
pid_t pid,
int policy,
const struct sched_param *param
);
int sched_getscheduler(
pid_t pid
);
int sched_yield();
int sched_get_priority_max(
int policy
);
int sched_get_priority_min(
int policy
);
int sched_rr_get_interval(
pid_t pid,
struct timespec *interval
);
int PRI_POSIX_TO_HPUX(
int pri
);
int PRI_HPUX_TO_POSIX(
int pri
);
DESCRIPTION
Summary
sched_get_priority_max() Get maximum scheduling policy
sched_get_priority_min() Get minimum scheduling policy
sched_getparam() Get scheduling parameters of process
sched_getscheduler() Get scheduling policy of process
sched_rr_get_interval() Get execution time limit for a process
sched_setparam() Set scheduling parameters of process
sched_setscheduler() Set scheduling policy and parameters of process
sched_yield() Requeue current thread in thread list
PRI_HPUX_TO_POSIX() Convert HP-UX priority to POSIX
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (8 pages)