summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_thread_registry.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-09-02 09:34:34 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-09-02 09:34:34 +0000
commit173998721ec7882de4b9119836ca00664517b283 (patch)
treee72dec0104f0aa4ee2dbe46c8ec21b14437d030c /lib/sanitizer_common/sanitizer_thread_registry.cc
parenta171087fcbfd5c36d8e7558cf2f63c778af4fb45 (diff)
tsan: address comments in r214912
See http://reviews.llvm.org/D4794 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_thread_registry.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_thread_registry.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sanitizer_common/sanitizer_thread_registry.cc b/lib/sanitizer_common/sanitizer_thread_registry.cc
index fa8482de2..2ec92ffd3 100644
--- a/lib/sanitizer_common/sanitizer_thread_registry.cc
+++ b/lib/sanitizer_common/sanitizer_thread_registry.cc
@@ -218,10 +218,6 @@ void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) {
}
}
-void ThreadRegistry::DetachThread(u32 tid) {
- DetachThread(tid, 0);
-}
-
void ThreadRegistry::DetachThread(u32 tid, void *arg) {
BlockingMutexLock l(&mtx_);
CHECK_LT(tid, n_contexts_);