From 49ddb1ffd4bc521ad92d564f46f1158c1562ad93 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 26 Jan 2022 15:45:06 -0500 Subject: [PATCH] kernel/condition_variable: Downgrade one of the panics into a dprintf. On some virtualized systems, this seems to still occur, and at this point may not be preventable. Fixes #17455. --- 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 968f56d66c..4572027607 100644 --- a/src/system/kernel/condition_variable.cpp +++ b/src/system/kernel/condition_variable.cpp @@ -158,7 +158,7 @@ ConditionVariableEntry::_RemoveFromVariable() while (atomic_pointer_get(&fVariable) != NULL) { tries++; if ((tries % 10000) == 0) - panic("variable pointer was not unset for a long time!"); + dprintf("variable pointer was not unset for a long time!"); cpu_pause(); }