kernel/condition_variable: Downgrade another panic into a debug print.

Fixes #17686.
This commit is contained in:
Augustin Cavalier 2022-04-25 19:20:31 -04:00
parent acdd772db0
commit acfde4597c

View File

@ -425,7 +425,7 @@ ConditionVariable::_NotifyLocked(bool all, status_t result)
while (atomic_get(&fEntriesCount) == oldCount) { while (atomic_get(&fEntriesCount) == oldCount) {
tries++; tries++;
if ((tries % 10000) == 0) if ((tries % 10000) == 0)
panic("entries count was not decremented for a long time!"); dprintf("entries count was not decremented for a long time!\n");
cpu_pause(); cpu_pause();
} }
} else { } else {