/external/compiler-rt/lib/lsan/ |
lsan_thread.cc | 26 static ThreadRegistry *thread_registry; member in namespace:__lsan 39 thread_registry = new(thread_registry_placeholder) 81 return thread_registry->CreateThread(user_id, detached, parent_tid, 94 thread_registry->StartThread(tid, os_id, &args); 98 thread_registry->FinishThread(GetCurrentThread()); 102 if (!thread_registry) return 0; 106 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); 118 return thread_registry->FindThread(FindThreadByUid, (void*)uid); 123 thread_registry->JoinThread(tid, /* arg */0); 137 thread_registry->FindThreadContextByOsIDLocked(os_id)) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_thread.cc | 181 ThreadRegistryLock l(CTX()->thread_registry); 183 CTX()->thread_registry->RunCallbackForEachThreadLocked( 198 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); 207 int tid = ctx->thread_registry->CreateThread(uid, detached, thr->tid, &args); 209 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); 241 CTX()->thread_registry->StartThread(tid, os_id, &args); 254 ctx->thread_registry->FinishThread(thr->tid); 269 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); 280 ctx->thread_registry->JoinThread(tid, thr); 288 ctx->thread_registry->DetachThread(tid) [all...] |
tsan_rtl_report.cc | 137 ctx_->thread_registry->CheckLocked(); 219 ctx->thread_registry->CheckLocked(); 222 ctx->thread_registry->GetThreadLocked(i)); 232 ctx->thread_registry->CheckLocked(); 234 ctx->thread_registry->GetThreadLocked(tid)); 250 ctx->thread_registry->CheckLocked(); 252 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, 393 ctx->thread_registry->CheckLocked(); 395 ctx->thread_registry->GetThreadLocked(tid)); 653 ThreadRegistryLock l0(ctx->thread_registry); [all...] |
tsan_rtl_mutex.cc | 66 ThreadRegistryLock l(ctx->thread_registry); 265 ThreadRegistryLock l(CTX()->thread_registry); 266 CTX()->thread_registry->RunCallbackForEachThreadLocked( 302 ThreadRegistryLock l(CTX()->thread_registry); 303 CTX()->thread_registry->RunCallbackForEachThreadLocked(
|
tsan_mman.cc | 96 ThreadRegistryLock l(ctx->thread_registry);
|
tsan_rtl.cc | 73 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( 104 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads);
|
tsan_rtl.h | 533 ThreadRegistry *thread_registry; member in struct:__tsan::Context
|
tsan_interceptors.cc | [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 213 // of "threads" in thread_registry.
|