commit | f3d874c60ee3ada19ce26a5c4e532312b6f3a9e9 | [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 18:59:40 2014 -0700 |
tree | de14ab8b610f43a2c2c4c02f4ac67d614919fde2 | |
parent | 031ddea20cb311dfdb3bd16a13750f9cb426b299 [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 Change-Id: I907f1d5591a6aa5c241d37d6b4a34f968f98df77