kernel/condition_variable: Increase tries count.

Should help with timeout panics occurring, at least somewhat.
This commit is contained in:
Augustin Cavalier
2021-12-08 17:33:08 -05:00
parent 6ae7f1f12d
commit 145526308a
+1 -1
View File
@@ -157,7 +157,7 @@ ConditionVariableEntry::_RemoveFromVariable()
int32 tries = 0;
while (atomic_pointer_get(&fVariable) != NULL) {
tries++;
if ((tries % 10000) == 0)
if ((tries % 100000) == 0)
panic("variable pointer was not unset for a long time!");
}