diff options
author | Hans Boehm <hboehm@google.com> | 2014-12-02 18:31:31 -0800 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2014-12-04 10:20:12 -0800 |
commit | 5567c11b9157eec110c0631aa2bff5836631e868 (patch) | |
tree | 6385002190e857aa2cedd813f461bb6b038fe4c5 /test/MultiDex/Main.java | |
parent | 27478e627e08ab42c43d5d934da9ea336ccaf628 (diff) |
Make Barrier robust against spurious wakeups
Fix Barrier implementation so that Wait cannot return prematurely
due to a spurious condition variable wakeup or interrupted futex call.
Document the resulting semantics of barrier.h, which are a bit surprising,
but appear to be exactly what current clients need.
Fix the test so that it actually passes with the fixed barrier.h,
and no longer tests for properties that can't be correctly satisfied.
Improve comment for InitTimeSpec, which we almost used.
Bug:18509123
Change-Id: I0b25f33bcd22322ba04e3951cd484843788c2bf5
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions