Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). sched lock() fails to prevent context switching in single-CPU (non-SMP) builds
The task
sched_lock() fails to prevent context switching in single-CPU (non-SMP) builds
Part of henryen/OriGent-RL-Data.