mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-26 19:37:01 +02:00
NO NEED FOR TIMER CHECK
This commit is contained in:
parent
66e980b6dd
commit
d3059fc016
1 changed files with 2 additions and 0 deletions
|
|
@ -191,6 +191,8 @@ bool Event::WaitFor(const std::chrono::nanoseconds time) {
|
||||||
_mm_mwaitx(1 << 1, 0u, cycles);
|
_mm_mwaitx(1 << 1, 0u, cycles);
|
||||||
if (!is_set.load())
|
if (!is_set.load())
|
||||||
return false;
|
return false;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool expected = true;
|
bool expected = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue