/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 | 203 ThreadRegistryLock l(ctx->thread_registry); 205 ctx->thread_registry->RunCallbackForEachThreadLocked( 218 ctx->thread_registry->GetNumberOfThreads(0, 0, &result); 225 int tid = ctx->thread_registry->CreateThread(uid, detached, thr->tid, &args); 227 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads()); 257 ThreadRegistry *tr = ctx->thread_registry; 282 ctx->thread_registry->FinishThread(thr->tid); 295 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid); 304 ctx->thread_registry->JoinThread(tid, thr); 310 ctx->thread_registry->DetachThread(tid) [all...] |
tsan_rtl_report.cc | 151 ctx->thread_registry->CheckLocked(); 217 ctx->thread_registry->CheckLocked(); 220 ctx->thread_registry->GetThreadLocked(i)); 229 ctx->thread_registry->CheckLocked(); 231 ctx->thread_registry->GetThreadLocked(tid)); 246 ctx->thread_registry->CheckLocked(); 248 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls, 394 ctx->thread_registry->CheckLocked(); 396 ctx->thread_registry->GetThreadLocked(tid)); 663 ThreadRegistryLock l0(ctx->thread_registry); [all...] |
tsan_rtl_mutex.cc | 59 ThreadRegistryLock l(ctx->thread_registry); 124 ThreadRegistryLock l(ctx->thread_registry); 378 ThreadRegistryLock l(ctx->thread_registry); 379 ctx->thread_registry->RunCallbackForEachThreadLocked( 422 ThreadRegistryLock l(ctx->thread_registry); 423 ctx->thread_registry->RunCallbackForEachThreadLocked( 467 ThreadRegistryLock l(ctx->thread_registry);
|
tsan_rtl.cc | 87 , thread_registry(new(thread_registry_placeholder) ThreadRegistry( 123 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads); 392 ctx->thread_registry->Lock(); 398 ctx->thread_registry->Unlock(); 403 ctx->thread_registry->Unlock(); 406 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */);
|
tsan_mman.cc | 77 ThreadRegistryLock l(ctx->thread_registry);
|
tsan_rtl.h | 465 ThreadRegistry *thread_registry; member in struct:__tsan::Context
|
tsan_interceptors.cc | [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 215 // of "threads" in thread_registry.
|