commit | 6093a5c277e54bcd949dd6fac7b3856e5f371d06 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu Jul 17 18:52:42 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Thu Jul 17 19:24:45 2014 -0700 |
tree | 83829910a34e7d54ba159d24b74a72f4e1ed3b8b | |
parent | d07c9cddccd0476456a5340b716bce3f107013b0 [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