From 9256a330c4403c766d6b75b1e2a7f5bcd8564ef6 Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Sun, 30 Mar 2025 10:41:21 +0200 Subject: [PATCH] Revert "race for cond.var." This reverts commit 70c64ddcd21a83f58f9f3f31b85e86fba457de83. (breaks console) --- cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu.cpp b/cpu.cpp index 7712e7f..282f799 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1687,7 +1687,7 @@ bool cpu::misc_operations(const uint16_t instr) #else std::unique_lock lck(qi_lock); - while (check_pending_interrupts() == false) + if (check_pending_interrupts() == false) qi_cv.wait(lck); #endif uint64_t end = get_us();