From acfde4597c45b20561bc26f34e3887f984a794f4 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 25 Apr 2022 19:20:31 -0400 Subject: [PATCH] kernel/condition_variable: Downgrade another panic into a debug print. Fixes #17686. --- src/system/kernel/condition_variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/condition_variable.cpp b/src/system/kernel/condition_variable.cpp index 69e53fbe11..f504ae1545 100644 --- a/src/system/kernel/condition_variable.cpp +++ b/src/system/kernel/condition_variable.cpp @@ -425,7 +425,7 @@ ConditionVariable::_NotifyLocked(bool all, status_t result) while (atomic_get(&fEntriesCount) == oldCount) { tries++; 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(); } } else {