mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +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:
committed by
Alan Carvalho de Assis
parent
3fa5466077
commit
d53d7d6c34
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user