aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/os_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-25 19:15:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-25 19:15:05 +0000
commit80904539e63681b2dca74e3978effb17f0c071b0 (patch)
treeeb49c2f705d2255cc6f05a7ee433aa87472c8a88 /nuttx/sched/os_internal.h
parente95efd5d2a08dcb62c8c635089e4fe146965db45 (diff)
downloadpx4-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.h10
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