mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 13:08:59 +00:00
Replace DEBUGASSERT checks with proper NULL pointer validation in getpid() and task_get_info() functions. Return IDLE_PROCESS_ID or -ESRCH on NULL conditions instead of asserting, improving robustness during early system startup and error conditions. Signed-off-by: hujun5 <hujun5@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| task_getinfo.c | ||
| task_tls.c | ||
| task_tls_destruct.c | ||
| tls_cleanup.c | ||
| tls_destruct.c | ||
| tls_getinfo.c | ||