commit | 59952167697d3b7e6655cb76d087a809c4f615d8 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu Jul 17 18:52:42 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Thu Jul 17 23:54:07 2014 -0700 |
tree | ed98e73bac623b0a874811de4041a0f0415d4eb5 | |
parent | 62327cda9a75e9d15daab0749b37257a146631f4 [diff] |
Avoid race in single thread suspension. Don't allow more than one concurrent single thread suspension to avoid potential cycles and deadlocks where threads try to suspend each other. Bug: 16364458, 16354227 (cherry picked from commit f3d874c60ee3ada19ce26a5c4e532312b6f3a9e9) Change-Id: I907f1d5591a6aa5c241d37d6b4a34f968f98df77