]> sourceware.org Git - glibc.git/blame - conform/data/sched.h-data
sparc: Fix restartable syscalls (BZ 32173)
[glibc.git] / conform / data / sched.h-data
CommitLineData
0516e24d 1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
4fd2cf9f
JM
2# if defined POSIX || defined UNIX98
3# include "time.h-data"
4# else
5allow-header time.h
6# endif
7
7f42d3dd
UD
8type {struct sched_param}
9element {struct sched_param} int sched_priority
4fd2cf9f 10# if !defined POSIX && !defined UNIX98
da238298
UD
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
4fd2cf9f 15# endif
7f42d3dd 16
f095bb72
UD
17# if defined XOPEN2K8 || defined POSIX2008
18type pid_t
19type time_t
20type {struct timespec}
21# endif
22
7f42d3dd
UD
23constant SCHED_FIFO
24constant SCHED_RR
4fd2cf9f 25# if !defined POSIX && !defined UNIX98
da238298 26optional-constant SCHED_SPORADIC
4fd2cf9f 27# endif
7f42d3dd
UD
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
7f42d3dd
UD
39allow sched_*
40allow SCHED_*
b395c02d 41allow *_t
7f42d3dd 42#endif
This page took 0.475179 seconds and 6 git commands to generate.