kernel: rename thread states symbols

They are not part of the API, so rename from K_<state> to
_THREAD_<state>.

Change-Id: Iaebb7d3083b80b9769bee5616e0f96ed2abc5c56
Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
This commit is contained in:
Benjamin Walsh 2017-01-22 11:41:59 -05:00 committed by Anas Nashif
commit a8978aba8f
10 changed files with 38 additions and 36 deletions

View file

@ -28,19 +28,19 @@
#define K_ESSENTIAL (1 << 0)
/* Thread is waiting on an object */
#define K_PENDING (1 << 1)
#define _THREAD_PENDING (1 << 1)
/* Thread has not yet started */
#define K_PRESTART (1 << 2)
#define _THREAD_PRESTART (1 << 2)
/* Thread has terminated */
#define K_DEAD (1 << 3)
#define _THREAD_DEAD (1 << 3)
/* Thread is suspended */
#define K_SUSPENDED (1 << 4)
#define _THREAD_SUSPENDED (1 << 4)
/* Not a real thread */
#define K_DUMMY (1 << 5)
#define _THREAD_DUMMY (1 << 5)
/* end - states */