diff options
author | Josh Gao <jmgao@google.com> | 2019-08-13 15:00:54 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-08-13 16:13:39 -0700 |
commit | 253ef12f50f97e6be2cb36a6e57d725d1a3fa559 (patch) | |
tree | a4ee8950d9684754dcb85c00f415068262ac04f9 /linker/linker.cpp | |
parent | c6c17ac1e8c7072d6744a6476f4cedb95be8d2ea (diff) |
leak_test: use tgkill to check if threads are alive.
If one of our threads exits and a new process shows up with the same
tid, we would previously loop until that process exits, leading to
flakiness in tests.
Also fix use of uninitialized memory that happens when threads_count !=
kThreadCount.
Bug: http://b/139315254
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests --gtest_filter="pthread_leak.detach" on cuttlefish
Change-Id: I2aad7f3f105aeba87c3929bfce53ef08e1484b2d
Diffstat (limited to 'linker/linker.cpp')
0 files changed, 0 insertions, 0 deletions