vm: Fix vm::passive_lock regression (#8175)

possible broken signaling in rare occusions.
This commit is contained in:
Eladash 2020-05-13 16:04:56 +03:00 committed by Ivan
parent 5c4c8f4539
commit 93122196d9

View file

@ -150,7 +150,7 @@ namespace vm
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]]