diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 19:15:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 19:15:05 +0000 |
commit | 80904539e63681b2dca74e3978effb17f0c071b0 (patch) | |
tree | eb49c2f705d2255cc6f05a7ee433aa87472c8a88 /nuttx/sched/task_exithook.c | |
parent | e95efd5d2a08dcb62c8c635089e4fe146965db45 (diff) | |
download | px4-firmware-80904539e63681b2dca74e3978effb17f0c071b0.tar.gz px4-firmware-80904539e63681b2dca74e3978effb17f0c071b0.tar.bz2 px4-firmware-80904539e63681b2dca74e3978effb17f0c071b0.zip |
Add logic to keep track of members of a task group
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5563 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_exithook.c')
-rw-r--r-- | nuttx/sched/task_exithook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_exithook.c b/nuttx/sched/task_exithook.c index 30ce41f71..36836301c 100644 --- a/nuttx/sched/task_exithook.c +++ b/nuttx/sched/task_exithook.c @@ -207,7 +207,7 @@ static inline void task_sigchild(FAR _TCB *ptcb, FAR _TCB *ctcb, int status) */ #ifdef CONFIG_SCHED_CHILD_STATUS - if (ctcb->group->tg_crefs == 1) + if (ctcb->group->tg_nmembers == 1) #else if ((ctcb->flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_TASK) #endif |