OSDN Git Service

Merge "Stop waiting when elapsed time is equal to or greater than the timeout, rather...
authorMatt Pape <mpape@google.com>
Tue, 16 Oct 2018 23:01:22 +0000 (23:01 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 16 Oct 2018 23:01:22 +0000 (23:01 +0000)
commit7f6aace73a912a4c984351ec9576b9aca83599e8
tree5b0018626324c81590b62f800648133b398e6644
parent4a772fc4d2d8578489cdd305f03832f8ca04981f
parent990c77c1f8796ad0aca0ea12bdaa6a8885863aa9
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."