Remove "[Add new features here]" for 2.27
[glibc.git] / conform / data / sched.h-data
blob63e5eb2567260e4fdf49ba2d82bcdf6fa31867c9
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
5 allow-header time.h
6 # endif
8 type {struct sched_param}
9 element {struct sched_param} int sched_priority
10 # if !defined POSIX && !defined UNIX98
11 optional-element {struct sched_param} int sched_ss_low_priority
12 optional-element {struct sched_param} {struct timespec} sched_ss_repl_period
13 optional-element {struct sched_param} {struct timespec} sched_ss_init_budget
14 optional-element {struct sched_param} int sched_ss_max_repl
15 # endif
17 # if defined XOPEN2K8 || defined POSIX2008
18 type pid_t
19 type time_t
20 type {struct timespec}
21 # endif
23 constant SCHED_FIFO
24 constant SCHED_RR
25 # if !defined POSIX && !defined UNIX98
26 optional-constant SCHED_SPORADIC
27 # endif
28 constant SCHED_OTHER
30 function int sched_get_priority_max (int)
31 function int sched_get_priority_min (int)
32 function int sched_getparam (pid_t, struct sched_param*)
33 function int sched_getscheduler (pid_t)
34 function int sched_rr_get_interval (pid_t, struct timespec*)
35 function int sched_setparam (pid_t, const struct sched_param*)
36 function int sched_setscheduler (pid_t, int, const struct sched_param*)
37 function int sched_yield (void)
39 allow sched_*
40 allow SCHED_*
41 allow *_t
42 #endif