summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatt Pape <mpape@google.com>2018-10-16 10:37:06 -0700
committerMatt Pape <mpape@google.com>2018-10-16 10:41:53 -0700
commit990c77c1f8796ad0aca0ea12bdaa6a8885863aa9 (patch)
tree78626381bebae1ce3cad2f4a1223af86a6c65d6e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc8c132959a55f3af128bb6320e3dfdc0503b4553 (diff)
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. Test: local unit testing Bug: 113100523 Change-Id: If23dc50e2bf58d0d928d47807ec792c92ff47ee1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions