sched Reference
File
lib/posix/include/posix/sched.h
Date
Wednesday, June 25, 2014
Includes
-
<time.h>
- <system/types/pid_t.h>
- <system/types/struct_sched_param.h>
Tasks
sched_get_priority_max
Top
int sched_get_priority_max(
int policy );
sched_get_priority_min
Top
int sched_get_priority_min(
int policy );
sched_getparam
Top
int sched_getparam(
pid_t pid,
struct sched_param *param );
sched_getscheduler
Top
int sched_getscheduler(
pid_t pid );
sched_rr_get_interval
Top
int sched_rr_get_interval(
pid_t pid,
struct timespec *interval );
sched_setparam
Top
int sched_setparam(
pid_t pid,
const struct sched_param *param );
sched_setscheduler
Top
int sched_setscheduler(
pid_t pid,
int policy,
const struct sched_param *param );
sched_yield
Top
int sched_yield(
void );
Macros
__XEOS_LIB_POSIX_SCHED_H__
Top
#define __XEOS_LIB_POSIX_SCHED_H__
SCHED_FIFO
Top
#define SCHED_FIFO 0
SCHED_OTHER
Top
#define SCHED_OTHER 2
SCHED_RR
Top
#define SCHED_RR 1