From c6376006f635056d1699044cd753e002c98b5b38 Mon Sep 17 00:00:00 2001 From: Nobutaka Toyoshima Date: Tue, 25 Nov 2014 13:58:20 +0900 Subject: [PATCH] sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h Jira: PDFW15IS-196 Jira: PDFW15IS-1109 Signed-off-by: Masayuki Ishikawa --- include/nuttx/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index f8bc539e3d..a6031c3183 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -168,7 +168,7 @@ # define CHILD_FLAG_TTYPE_TASK (0 << CHILD_FLAG_TTYPE_SHIFT) /* Normal user task */ # define CHILD_FLAG_TTYPE_PTHREAD (1 << CHILD_FLAG_TTYPE_SHIFT) /* User pthread */ # define CHILD_FLAG_TTYPE_KERNEL (2 << CHILD_FLAG_TTYPE_SHIFT) /* Kernel thread */ -#define CHILD_FLAG_EXITED (1 << 0) /* Bit 2: The child thread has exit'ed */ +#define CHILD_FLAG_EXITED (1 << 2) /* Bit 2: The child thread has exit'ed */ /* Bits 3-7: Available */ /* Sporadic scheduler flags */