kernel: add K_IDLE_PRIO
Define the priority reserved for the idle thread rather than use K_LOWEST_THREAD_PRIO. Change-Id: I514296d774047fa1348249da8ee90a68b6aace17 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
0d5f541052
commit
fab8d92936
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ extern "C" {
|
|||
#define K_LOWEST_THREAD_PRIO -1
|
||||
#endif
|
||||
|
||||
#define K_IDLE_PRIO K_LOWEST_THREAD_PRIO
|
||||
|
||||
#define K_HIGHEST_APPLICATION_THREAD_PRIO (K_HIGHEST_THREAD_PRIO)
|
||||
#define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue