Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). SMP: the wait-for-child kernel paths nx waitpid() and nx waitid() unnecessarily acquire the global scheduler lock while waiting for a child.
The task
SMP: the wait-for-child kernel paths nx_waitpid() and nx_waitid() unnecessarily acquire the global scheduler lock while waiting for a child.
Part of henryen/OriGent-RL-Data.