nuttx/sched/environ
chao an dfd1e38b40 sched/environ: check envcp validity before hold sched_lock()
check envcp validity before hold sched_lock() to avoid unnecessary schedule lock

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-05 22:24:14 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
env_clearenv.c
env_dup.c sched/environ: check envcp validity before hold sched_lock() 2024-03-05 22:24:14 +08:00
env_findvar.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_foreach.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_getenv.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_getenvironptr.c sched/environ: Refine the environment variables storage layout 2022-04-18 10:33:37 +03:00
env_putenv.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
env_release.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_removevar.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
env_setenv.c Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
env_unsetenv.c sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
environ.h sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
Make.defs