mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +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> |
||
|---|---|---|
| .. | ||
| clock_getcpuclockid.c | ||
| CMakeLists.txt | ||
| Make.defs | ||
| sched_backtrace.c | ||
| sched_cpucount.c | ||
| sched_dumpstack.c | ||
| sched_getprioritymax.c | ||
| sched_getprioritymin.c | ||
| task_cancelpt.c | ||
| task_getpid.c | ||
| task_gettid.c | ||
| task_setcancelstate.c | ||
| task_setcanceltype.c | ||
| task_startup.c | ||
| task_testcancel.c | ||