commit | f19ba5ca33e4179ff3013228351ca4189a10466b | [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 | 328c4a701c0f8b720c03c7f63e1cfb94555c0488 [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