race for cond.var.

This commit is contained in:
Folkert van Heusden 2024-06-26 20:46:21 +02:00
parent 2d9f953959
commit 70c64ddcd2
Signed by untrusted user who does not match committer: folkert
GPG key ID: 30190E8C1F28D8AE

View file

@ -1685,7 +1685,7 @@ bool cpu::misc_operations(const uint16_t instr)
#else
std::unique_lock<std::mutex> lck(qi_lock);
if (check_pending_interrupts() == false)
while (check_pending_interrupts() == false)
qi_cv.wait(lck);
#endif
uint64_t end = get_us();