diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 20:00:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-25 20:00:37 +0000 |
commit | fdaa22ed2d565e49983e956bc056f1e0797bd9a9 (patch) | |
tree | 81d2bc2ed6e039cb6e9f7228846608b2d7d4fa85 /nuttx/sched/os_internal.h | |
parent | 80904539e63681b2dca74e3978effb17f0c071b0 (diff) | |
download | px4-firmware-fdaa22ed2d565e49983e956bc056f1e0797bd9a9.tar.gz px4-firmware-fdaa22ed2d565e49983e956bc056f1e0797bd9a9.tar.bz2 px4-firmware-fdaa22ed2d565e49983e956bc056f1e0797bd9a9.zip |
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
Diffstat (limited to 'nuttx/sched/os_internal.h')
-rw-r--r-- | nuttx/sched/os_internal.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h index 8ce99bc44..599be25bb 100644 --- a/nuttx/sched/os_internal.h +++ b/nuttx/sched/os_internal.h @@ -275,13 +275,21 @@ int task_reparent(pid_t ppid, pid_t chpid); #ifdef HAVE_TASK_GROUP int group_allocate(FAR _TCB *tcb); int group_initialize(FAR _TCB *tcb); +int group_bind(FAR _TCB *tcb); int group_join(FAR _TCB *tcb); void group_leave(FAR _TCB *tcb); +#ifndef CONFIG_DISABLE_SIGNALS +int group_signal(FAR _TCB *tcb, FAR siginfo_t *info); +#else +# define group_signal(tcb,info) (0) +#endif #else -# define group_allocate(tcb) (0) -# define group_initialize(tcb) (0) -# define group_join(tcb) (0) +# define group_allocate(tcb) (0) +# define group_initialize(tcb) (0) +# define group_bind(tcb) (0) +# define group_join(tcb) (0) # define group_leave(tcb) +# define group_signal(tcb,info) (0) #endif #ifdef CONFIG_SCHED_CHILD_STATUS |