aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/group_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/group_internal.h')
-rw-r--r--nuttx/sched/group_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/sched/group_internal.h b/nuttx/sched/group_internal.h
index b78b38453..39d0a2b7c 100644
--- a/nuttx/sched/group_internal.h
+++ b/nuttx/sched/group_internal.h
@@ -127,6 +127,14 @@ FAR struct child_status_s *group_removechild(FAR struct task_group_s *group,
pid_t pid);
void group_removechildren(FAR struct task_group_s *group);
+/* File/network resources */
+
+#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
+int group_releasefiles(FAR _TCB *tcb);
+#else
+# define group_releasefiles(t) (OK)
+#endif
+
#endif /* CONFIG_SCHED_CHILD_STATUS */
#endif /* CONFIG_SCHED_HAVE_PARENT */