mirror of
https://github.com/apache/nuttx.git
synced 2025-12-06 17:23:49 +08:00
sched/group: change type of task group member to single queue
Change the type of task group member to single list chain to avoid accessing the memory allocator to improve the performance Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -121,7 +121,7 @@ static void exec_swap(FAR struct tcb_s *ptcb, FAR struct tcb_s *chtcb)
|
||||
pid_t pid;
|
||||
irqstate_t flags;
|
||||
#ifdef HAVE_GROUP_MEMBERS
|
||||
FAR pid_t *tg_members;
|
||||
sq_queue_t tg_members;
|
||||
#endif
|
||||
#ifdef CONFIG_SCHED_HAVE_PARENT
|
||||
# ifdef CONFIG_SCHED_CHILD_STATUS
|
||||
|
||||
Reference in New Issue
Block a user