commit | b64dd85c94ee21684d4ccbb0683d628eb1eb6121 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Sun Jan 22 18:22:52 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Jan 23 11:34:49 2017 -0800 |
tree | b42a3d28031b895231cd289e2449282d5c8038d8 | |
parent | 13c15e05d0b6f35399800902eb8ea1943172db79 [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