forked from Archive/PX4-Autopilot
QuRT: added sched.h
Added the pieces required from sched.h Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
6ce0b7b753
commit
c9d4f02541
|
@ -0,0 +1,13 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define SCHED_FIFO 1
|
||||||
|
#define SCHED_RR 2
|
||||||
|
|
||||||
|
struct sched_param
|
||||||
|
{
|
||||||
|
int sched_priority;
|
||||||
|
};
|
||||||
|
|
||||||
|
int sched_get_priority_max(int policy);
|
||||||
|
int sched_get_priority_min(int policy);
|
||||||
|
|
Loading…
Reference in New Issue