]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ISO | |
2 | type {struct sched_param} | |
3 | element {struct sched_param} int sched_priority | |
4 | optional-element {struct sched_param} int sched_ss_low_priority | |
5 | optional-element {struct sched_param} {struct timespec} sched_ss_repl_period | |
6 | optional-element {struct sched_param} {struct timespec} sched_ss_init_budget | |
7 | optional-element {struct sched_param} int sched_ss_max_repl | |
8 | ||
9 | # if defined XOPEN2K8 || defined POSIX2008 | |
10 | type pid_t | |
11 | type time_t | |
12 | type {struct timespec} | |
13 | # endif | |
14 | ||
15 | constant SCHED_FIFO | |
16 | constant SCHED_RR | |
17 | optional-constant SCHED_SPORADIC | |
18 | constant SCHED_OTHER | |
19 | ||
20 | function int sched_get_priority_max (int) | |
21 | function int sched_get_priority_min (int) | |
22 | function int sched_getparam (pid_t, struct sched_param*) | |
23 | function int sched_getscheduler (pid_t) | |
24 | function int sched_rr_get_interval (pid_t, struct timespec*) | |
25 | function int sched_setparam (pid_t, const struct sched_param*) | |
26 | function int sched_setscheduler (pid_t, int, const struct sched_param*) | |
27 | function int sched_yield (void) | |
28 | ||
29 | allow-header time.h | |
30 | ||
31 | allow sched_* | |
32 | allow SCHED_* | |
33 | allow *_t | |
34 | #endif |