KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
sched.h
Go to the documentation of this file.
1/** \file sys/sched.h
2 \brief Basic sys/sched.h file for newlib.
3
4 This file specifies a few things to make sure pthreads stuff compiles.
5*/
6
7#ifndef __SYS_SCHED_H
8#define __SYS_SCHED_H
9
10#include <sys/cdefs.h>
11__BEGIN_DECLS
12
13// These are copied from Newlib to make stuff compile as expected.
14
15#define SCHED_OTHER 0 /**< \brief Other scheduling */
16#define SCHED_FIFO 1 /**< \brief FIFO scheduling */
17#define SCHED_RR 2 /**< \brief Round-robin scheduling */
18
19/** \brief Scheduling Parameters, P1003.1b-1993, p. 249.
20 \note Fields whose name begins with "ss_" added by P1003.4b/D8, p. 33.
21 \headerfile sys/sched.h
22*/
24 int sched_priority; /**< \brief Process execution scheduling priority */
25};
26
27__END_DECLS
28
29#endif /* __SYS_SCHED_H */
Scheduling Parameters, P1003.1b-1993, p.
Definition sched.h:23
int sched_priority
Process execution scheduling priority.
Definition sched.h:24