commit | 4ad5cd3e7d519484559ef778d96fb3f0be8919fa | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue Nov 11 23:08:07 2014 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Nov 12 15:29:12 2014 -0800 |
tree | 9870938a0552b4fe472d9994a55a3bf761fc69d5 | |
parent | 741e287b60136db49ecf8da72f2b5ca48b0a39bd [diff] |
Modify the behavior of thread suspend shootouts. The thread doing the suspension doesn't attempt to suspend the other thread unless it knows another thread isn't trying to suspend it. Use the suspend count, and its lock, for this purpose. Re-enable ThreadStress test. Bug: 15446488 Change-Id: Idd34410c7b89d8abd6973e5699a15ca699472c78