commit | 6cfe3d42fc774e4c4a7c25649490d4425ac9ac21 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Sun Jan 22 18:22:52 2017 -0800 |
committer | gitbuildkicker <android-build@google.com> | Mon Jan 23 14:41:19 2017 -0800 |
tree | e3c81c83706b23000af8468697f4e9822e20bc95 | |
parent | 763a02c945acbd4441e0f37c92f9f79502646a58 [diff] |
debuggerd_handler: actually wait for pseudothread to exit. Occasionally, the pseudothread wouldn't exit in time after unlocking the mutex to get crash_dump to proceed, resulting in spurious error messages. Instead of using a mutex to emulate pthread_join, just implement it correctly. Bug: http://b/34472671 Test: debuggerd_test Change-Id: I5c2658a84e9407ed8cc0ef2ad0fb648c388b7ad1 (cherry picked from commit b64dd85c94ee21684d4ccbb0683d628eb1eb6121)