|
@@ -230,7 +230,7 @@ static int os_host_main_loop_wait(int64_t timeout)
|
|
if (!timeout && (spin_counter > MAX_MAIN_LOOP_SPIN)) {
|
|
if (!timeout && (spin_counter > MAX_MAIN_LOOP_SPIN)) {
|
|
static bool notified;
|
|
static bool notified;
|
|
|
|
|
|
- if (!notified && !qtest_enabled()) {
|
|
|
|
|
|
+ if (!notified && !qtest_driver()) {
|
|
fprintf(stderr,
|
|
fprintf(stderr,
|
|
"main-loop: WARNING: I/O thread spun for %d iterations\n",
|
|
"main-loop: WARNING: I/O thread spun for %d iterations\n",
|
|
MAX_MAIN_LOOP_SPIN);
|
|
MAX_MAIN_LOOP_SPIN);
|