_Condition.wait(): never sleep longer than the timeout time remaining,
and even if we have a long time left to wait, try the lock at least 20 times/second.
Showing
Please
register
or
sign in
to comment
and even if we have a long time left to wait, try the lock at least 20 times/second.