vm: Fix vm::passive_lock regression (#8175)
possible broken signaling in rare occusions.
This commit is contained in:
@@ -150,7 +150,7 @@ namespace vm
|
|||||||
|
|
||||||
if (cpu.state & cpu_flag::memory)
|
if (cpu.state & cpu_flag::memory)
|
||||||
{
|
{
|
||||||
cpu.state -= cpu_flag::memory;
|
cpu.state -= cpu_flag::memory + cpu_flag::wait;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_mutex.is_lockable()) [[likely]]
|
if (g_mutex.is_lockable()) [[likely]]
|
||||||
|
|||||||
Reference in New Issue
Block a user