kernel/condition_variable: Increase tries count.
Should help with timeout panics occurring, at least somewhat.
This commit is contained in:
@@ -157,7 +157,7 @@ ConditionVariableEntry::_RemoveFromVariable()
|
|||||||
int32 tries = 0;
|
int32 tries = 0;
|
||||||
while (atomic_pointer_get(&fVariable) != NULL) {
|
while (atomic_pointer_get(&fVariable) != NULL) {
|
||||||
tries++;
|
tries++;
|
||||||
if ((tries % 10000) == 0)
|
if ((tries % 100000) == 0)
|
||||||
panic("variable pointer was not unset for a long time!");
|
panic("variable pointer was not unset for a long time!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user