HF RL Explorer

Repair a verified behavior in RT-Thread/rt-thread.

Repair a verified behavior in RT-Thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). RT-Thread currently requires code that needs the current logical CPU ID to call the hardware-level rt hw cpu id() interface directly. That interface is unsafe for general kernel use on SMP systems: if…

The task

RT-Thread currently requires code that needs the current logical CPU ID to call the hardware-level rt_hw_cpu_id() interface directly. That interface is unsafe for general kernel use on SMP systems: if the caller is in a context where the current thread can migrate, the returned ID can become stale and callers can…

Part of henryen/OriGent-RL-Data.