From fdaa22ed2d565e49983e956bc056f1e0797bd9a9 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 25 Jan 2013 20:00:37 +0000 Subject: Add logic to send SIGCHLD to all members of a task group git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5564 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/task_exithook.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/sched/task_exithook.c') diff --git a/nuttx/sched/task_exithook.c b/nuttx/sched/task_exithook.c index 36836301c..2d596978f 100644 --- a/nuttx/sched/task_exithook.c +++ b/nuttx/sched/task_exithook.c @@ -259,7 +259,11 @@ static inline void task_sigchild(FAR _TCB *ptcb, FAR _TCB *ctcb, int status) * can provide the correct si_code value with the signal. */ +#ifdef HAVE_GROUP_MEMBERS + (void)group_signal(ptcb, &info); +#else (void)sig_received(ptcb, &info); +#endif } } #else -- cgit v1.2.3