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
This commit is contained in:
patacongo
2013-01-25 20:00:37 +00:00
parent 80904539e6
commit fdaa22ed2d
6 changed files with 161 additions and 5 deletions
+4
View File
@@ -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