Skip to content

Commit 01ceaef

Browse files
committed
Slightly delaying a race condition
1 parent 55d7c8f commit 01ceaef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpu/ppc/ppcexec.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@ static uint64_t process_events()
345345
exec_timer = false;
346346
uint64_t slice_ns = TimerManager::get_instance()->process_timers();
347347
if (slice_ns == 0) {
348-
// execute 10.000 cycles
348+
// execute 25.000 cycles
349349
// if there are no pending timers
350-
return g_icycles + 10000;
350+
return g_icycles + 25000;
351351
}
352352
return g_icycles + (slice_ns >> icnt_factor) + 1;
353353
}

0 commit comments

Comments
 (0)