mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-29 18:17:40 +00:00
2abbb99f6a("hv: make thread status more accurate") introduced a transition stage, marked as var be_blocking, between RUNNING->BLOCKED of thread status. wake_thread() does not work in this transition stage because it only checks thread->status. Need to check thread->be_blocking as well in wake_thread(). When wake_thread() happens in the transition stage, the previous sleep operation rolled back. Tracked-On: #5190 Fixes:2abbb99f6a("hv: make thread status more accurate") Signed-off-by: Conghui Chen <conghui.chen@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
5.9 KiB
5.9 KiB