commit | 7f6aace73a912a4c984351ec9576b9aca83599e8 | [log] [tgz] |
---|---|---|
author | Matt Pape <mpape@google.com> | Tue Oct 16 23:01:22 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Oct 16 23:01:22 2018 +0000 |
tree | 5b0018626324c81590b62f800648133b398e6644 | |
parent | 4a772fc4d2d8578489cdd305f03832f8ca04981f [diff] | |
parent | 990c77c1f8796ad0aca0ea12bdaa6a8885863aa9 [diff] |
Merge "Stop waiting when elapsed time is equal to or greater than the timeout, rather than strictly greater than. This avoids a rare problem where the loop manages to complete at exactly the timeout time and then makes a call to wait(0), which waits indefinitely until another thread notifies it instead of timing out after 0 ms."