kernel: add _THREAD_POLLING thread state
Will be needed for k_poll() API. Change-Id: I0ebe4be5a9c56df2ebb8496dc49c894e982e6008 Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
This commit is contained in:
parent
0a49ba38b8
commit
0de9487351
2 changed files with 18 additions and 0 deletions
|
@ -39,6 +39,9 @@
|
|||
/* Thread is suspended */
|
||||
#define _THREAD_SUSPENDED (1 << 4)
|
||||
|
||||
/* Thread is actively looking at events to see if they are ready */
|
||||
#define _THREAD_POLLING (1 << 5)
|
||||
|
||||
/* end - states */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue