diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 23:49:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 23:49:02 +0000 |
commit | 47b94bafa5045532f239ea57a3610873b1a71368 (patch) | |
tree | 59eb55cb25bbd20b052a87de5838d80a410a1439 /nuttx/sched/group_internal.h | |
parent | b82c36961aa730fc39a9fc8eac17e2518128cb67 (diff) | |
download | px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.gz px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.bz2 px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.zip |
Move socket data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/group_internal.h')
-rw-r--r-- | nuttx/sched/group_internal.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/sched/group_internal.h b/nuttx/sched/group_internal.h index e6e0dfd16..ca6aacff7 100644 --- a/nuttx/sched/group_internal.h +++ b/nuttx/sched/group_internal.h @@ -113,10 +113,14 @@ void group_removechildren(FAR struct task_group_s *group); #endif /* CONFIG_SCHED_CHILD_STATUS */ #endif /* CONFIG_SCHED_HAVE_PARENT */ -/* File/network resources */ +/* Group data resource configuration */ #if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0 -int group_releasefiles(FAR _TCB *tcb); +int group_setupidlefiles(FAR _TCB *tcb); +int group_setuptaskfiles(FAR _TCB *tcb); +#if CONFIG_NFILE_STREAMS > 0 +int group_setupstreams(FAR _TCB *tcb); +#endif #endif #endif /* __SCHED_GROUP_INERNAL_H */ |