sched_waitpid.c: HIS_metric_violation: CCM
Some checks failed
Build Documentation / build-html (push) Has been cancelled

This commit refactors nxsched_waitpid() by extracting the core waiting logic
into a separate waittcb() helper function. This change significantly reduces
the cyclomatic complexity of the main function while preserving all original
functionality and improving code maintainability with better separation of
concerns between initialization and wait handling logic.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2026-02-03 18:36:01 +08:00
committed by Xiang Xiao
parent 5abba4f655
commit 82a218cbf3

File diff suppressed because it is too large Load Diff