commit | 6b3557571e798b60df995f978fa01c0ca1980dfd | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jan 13 16:49:08 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Jan 13 16:49:08 2012 -0800 |
tree | ce56e52d67d20bf3204074b48d2be1d15644ef54 | |
parent | f4222065170130a31513dc63e2c2808db80860f1 [diff] |
Make pthread_mutex_t destruction safer during shutdown. If we have suspended daemon threads, they might be holding some of the mutexes we need to destroy, so we can't assert that we successfully destroyed them. We still want to assert success where possible, though. Bug: 5869254 Change-Id: Id4f3af3d40b10045958e7d692b3c9eebafec566d