mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 14:58:47 +00:00
Replace global critical section with mutex in environment variable operations. Use nxrmutex_lock/unlock(&group->tg_mutex) instead of enter/leave_critical_section() to protect environment access, reducing interrupt latency and improving SMP responsiveness. Clean up unused irqstate_t flags variables in env_dup, env_getenv, env_setenv, and env_unsetenv. Signed-off-by: hujun5 <hujun5@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| env_clearenv.c | ||
| env_dup.c | ||
| env_findvar.c | ||
| env_foreach.c | ||
| env_getenv.c | ||
| env_getenvironptr.c | ||
| env_putenv.c | ||
| env_release.c | ||
| env_removevar.c | ||
| env_setenv.c | ||
| env_unsetenv.c | ||
| environ.h | ||
| Make.defs | ||