diff options
Diffstat (limited to 'nuttx/sched/group_internal.h')
-rw-r--r-- | nuttx/sched/group_internal.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nuttx/sched/group_internal.h b/nuttx/sched/group_internal.h index e79f96e8c..f29cb53de 100644 --- a/nuttx/sched/group_internal.h +++ b/nuttx/sched/group_internal.h @@ -76,16 +76,18 @@ extern FAR struct task_group_s *g_grouphead; /* Task group data structure management */ #ifdef HAVE_TASK_GROUP -int group_allocate(FAR struct tcb_s *tcb); -int group_initialize(FAR struct tcb_s *tcb); -int group_bind(FAR struct tcb_s *tcb); -int group_join(FAR struct tcb_s *tcb); +int group_allocate(FAR struct task_tcb_s *tcb); +int group_initialize(FAR struct task_tcb_s *tcb); +#ifndef CONFIG_DISABLE_PTHREAD +int group_bind(FAR struct pthread_tcb_s *tcb); +int group_join(FAR struct pthread_tcb_s *tcb); +#endif void group_leave(FAR struct tcb_s *tcb); #ifdef HAVE_GROUP_MEMBERS FAR struct task_group_s *group_find(gid_t gid); int group_addmember(FAR struct task_group_s *group, pid_t pid); -int group_removemember(FAR struct task_group_s *group, pid_t pid); +int group_removemember(FAR struct task_group_s *group, pid_t pid); #endif /* Convenience functions */ |