mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
sched.h: add SCHED_BATCH and SCHED_IDLE definition
Resolve undefined compile-time issues encountered when porting third-party libraries. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
3fa5466077
commit
d53d7d6c34
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@
|
|||
#define SCHED_FIFO 1 /* FIFO priority scheduling policy */
|
||||
#define SCHED_RR 2 /* Round robin scheduling policy */
|
||||
#define SCHED_SPORADIC 3 /* Sporadic scheduling policy */
|
||||
#define SCHED_BATCH 4 /* Batch scheduling policy */
|
||||
#define SCHED_IDLE 5 /* Idle scheduling policy */
|
||||
|
||||
/* Maximum number of SCHED_SPORADIC replenishments */
|
||||
|
||||
|
|
Loading…
Reference in a new issue