commit | 62597d1dc4e62d36addcc2f1c452cbd6f565a420 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Jan 11 10:19:06 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Jan 12 09:56:18 2016 -0800 |
tree | 01ab6184c9febdbdf5fbfd1ed33e4469aaf56974 | |
parent | c3ba07ef76549129705af28173070b88a1c39531 [diff] |
Add sleep in SuspendAllDaemonThreadsForShutdown Only sleep if there are still daemon threads. Since we have already shutdown the runtime daemons, this is a rare case. The goal of the sleep is to leave daemon threads time to become blocked in a place where they ideally will not touch runtime state. Bug: 26483935 Bug: 18577101 Change-Id: Iad12209e771720523620e0a3829a75ec4647f58b