commit | 82a800d1408937951155f546a3671b83b7379ab5 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Dec 15 15:59:49 2014 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Dec 15 17:06:31 2014 -0800 |
tree | 9330b333816be80efd98ff2c23124bf7b31185c4 | |
parent | 5dd24d89714aeca69a3a06561d5a3687d54cf43b [diff] |
Decrement suspend count if thread is shutting down Prevents deadlock caused by incrementing suspend count in SuspendThreadByPeer, then getting a cleared nativePeer field. This resulted in us not decrementing the suspend count which caused a deadlock in WaitForOtherNonDaemonThreadsToExit. Bug: 18739541 Change-Id: I4a63f1823993a0f99f32025cd479072be49ba8d5