1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42 2# if defined POSIX || defined UNIX98 3# include "time.h-data" 4# else 5allow-header time.h 6# endif 7 8type {struct sched_param} 9element {struct sched_param} int sched_priority 10# if !defined POSIX && !defined UNIX98 11optional-element {struct sched_param} int sched_ss_low_priority 12optional-element {struct sched_param} {struct timespec} sched_ss_repl_period 13optional-element {struct sched_param} {struct timespec} sched_ss_init_budget 14optional-element {struct sched_param} int sched_ss_max_repl 15# endif 16 17# if defined XOPEN2K8 || defined POSIX2008 18type pid_t 19type time_t 20type {struct timespec} 21# endif 22 23constant SCHED_FIFO 24constant SCHED_RR 25# if !defined POSIX && !defined UNIX98 26optional-constant SCHED_SPORADIC 27# endif 28constant SCHED_OTHER 29 30function int sched_get_priority_max (int) 31function int sched_get_priority_min (int) 32function int sched_getparam (pid_t, struct sched_param*) 33function int sched_getscheduler (pid_t) 34function int sched_rr_get_interval (pid_t, struct timespec*) 35function int sched_setparam (pid_t, const struct sched_param*) 36function int sched_setscheduler (pid_t, int, const struct sched_param*) 37function int sched_yield (void) 38 39allow sched_* 40allow SCHED_* 41allow *_t 42#endif 43