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/os_internal.h | |
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/os_internal.h')
-rw-r--r-- | nuttx/sched/os_internal.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h index ee5ada165..8ce99bc44 100644 --- a/nuttx/sched/os_internal.h +++ b/nuttx/sched/os_internal.h @@ -273,12 +273,14 @@ int task_deletecurrent(void); int task_reparent(pid_t ppid, pid_t chpid); #ifdef HAVE_TASK_GROUP -int group_create(FAR _TCB *tcb); -void group_join(FAR _TCB *tcb); +int group_allocate(FAR _TCB *tcb); +int group_initialize(FAR _TCB *tcb); +int group_join(FAR _TCB *tcb); void group_leave(FAR _TCB *tcb); #else -# define group_create(tcb) -# define group_join(tcb) +# define group_allocate(tcb) (0) +# define group_initialize(tcb) (0) +# define group_join(tcb) (0) # define group_leave(tcb) #endif |