Add group_addrenv() which will be called during context switches in order to change address environments. Not yet hooked in

This commit is contained in:
Gregory Nutt
2014-08-26 14:54:39 -06:00
parent 0db7da1858
commit af22f273d3
6 changed files with 49 additions and 16 deletions
+3 -1
View File
@@ -298,9 +298,11 @@ struct join_s; /* Forward reference
struct task_group_s
{
#ifdef HAVE_GROUP_MEMBERS
#if defined(HAVE_GROUP_MEMBERS) || defined(CONFIG_ARCH_ADDRENV)
struct task_group_s *flink; /* Supports a singly linked list */
gid_t tg_gid; /* The ID of this task group */
#endif
#ifdef HAVE_GROUP_MEMBERS
gid_t tg_pgid; /* The ID of the parent task group */
#endif
#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SCHED_HAVE_PARENT)