mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
sched/env: add tg_envc in task_group_s to avoid some loops in code
this commit optimize the env api speed Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
dd0f389e72
commit
d77b53957c
@@ -496,7 +496,8 @@ struct task_group_s
|
||||
#ifndef CONFIG_DISABLE_ENVIRON
|
||||
/* Environment variables **************************************************/
|
||||
|
||||
FAR char **tg_envp; /* Allocated environment strings */
|
||||
FAR char **tg_envp; /* Allocated environment strings */
|
||||
ssize_t tg_envc; /* Number of environment strings */
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_DISABLE_POSIX_TIMERS
|
||||
|
||||
Reference in New Issue
Block a user