aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/sig_action.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 17:28:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 17:28:20 +0000
commita1aa13f62853491f8bd96a3dea0f0427fa83ad05 (patch)
tree86bcd215a785d7499f6472475df1c6c879574751 /nuttx/sched/sig_action.c
parent239e2808cca6ee4c356d087bc83889fc57e64307 (diff)
downloadpx4-firmware-a1aa13f62853491f8bd96a3dea0f0427fa83ad05.tar.gz
px4-firmware-a1aa13f62853491f8bd96a3dea0f0427fa83ad05.tar.bz2
px4-firmware-a1aa13f62853491f8bd96a3dea0f0427fa83ad05.zip
Don't keep the parent task's task ID in the child task's TCB. Instead, keep the parent task group IN the child task's task group.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5566 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sig_action.c')
-rw-r--r--nuttx/sched/sig_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sig_action.c b/nuttx/sched/sig_action.c
index fe72cc22d..5c00179dc 100644
--- a/nuttx/sched/sig_action.c
+++ b/nuttx/sched/sig_action.c
@@ -242,7 +242,7 @@ int sigaction(int signo, FAR const struct sigaction *act, FAR struct sigaction *
/* Free all pending exit status */
- task_removechildren(rtcb);
+ group_removechildren(rtcb->group);
irqrestore(flags);
}
#endif