mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user