Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The pipe/FIFO common driver (drivers/pipes/pipe common.c, shared by the named-pipe driver and the FIFO driver) guards its per-device state in the open, read, and write paths with the scheduler lock (sched…
The task
The pipe/FIFO common driver (drivers/pipes/pipe_common.c, shared by the named-pipe driver and the FIFO driver) guards its per-device state in the open, read, and write paths with the scheduler lock (sched_lock()/sched_unlock()). The scheduler lock only suppresses preemption on the local CPU: it provides no exclusion…
Part of henryen/OriGent-RL-Data.