You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, developers,
I came across the following code snippet, where the condition for waiting on the condition variable is checked using an if statement: platforms/windows/src/tests/mod.rs#L224
Could this potentially lead to spurious wakeups? Would it be better to use a while loop instead to ensure the condition is rechecked after each wakeup?
The text was updated successfully, but these errors were encountered:
Hi, developers,
I came across the following code snippet, where the condition for waiting on the condition variable is checked using an if statement:
platforms/windows/src/tests/mod.rs#L224
Could this potentially lead to spurious wakeups? Would it be better to use a while loop instead to ensure the condition is rechecked after each wakeup?
The text was updated successfully, but these errors were encountered: