aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/os_start.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
commit340a72b7cdfb3c1c79044f53decc055ee6c06f19 (patch)
treedbc9c30e5aec5ddcdf6f0abd2b9a9416721c9bce /nuttx/sched/os_start.c
parentf86f863834bf7eae566e4ccce00ecfef3f914b05 (diff)
downloadpx4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.tar.gz
px4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.tar.bz2
px4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.zip
Add logic to retain child task exit status if so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_start.c')
-rw-r--r--nuttx/sched/os_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index cb6a2c869..a6d4e83b9 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -286,7 +286,7 @@ void os_start(void)
/* Initialize the processor-specific portion of the TCB */
- g_idletcb.flags = TCB_FLAG_TTYPE_KERNEL;
+ g_idletcb.flags = (TCB_FLAG_TTYPE_KERNEL | TCB_FLAG_NOCLDWAIT);
up_initial_state(&g_idletcb);
/* Initialize the semaphore facility(if in link). This has to be done