Make UEFI boot-platform build again
[haiku.git] / headers / posix / sched.h
blobc37f7570498a5e03e6f60c912d160bea216c9dae
1 /*
2 * Copyright 2008-2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
4 */
5 #ifndef _SCHED_H_
6 #define _SCHED_H_
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
14 #define SCHED_FIFO 1
15 #define SCHED_RR 2
16 #define SCHED_SPORADIC 3
17 #define SCHED_OTHER 4
19 struct sched_param {
20 int sched_priority;
24 extern int sched_yield(void);
25 extern int sched_get_priority_min(int);
26 extern int sched_get_priority_max(int);
28 #ifdef __cplusplus
30 #endif
32 #endif /* _SCHED_H_ */