Searched refs:thread_registry (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp25 static ThreadRegistry *thread_registry; member in namespace:__lsan
37 thread_registry = new(thread_registry_placeholder)
75 return thread_registry->CreateThread(user_id, detached, parent_tid,
89 thread_registry->StartThread(tid, os_id, thread_type, &args);
93 thread_registry->FinishThread(GetCurrentThread());
98 if (!thread_registry) return nullptr;
102 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread());
114 return thread_registry->FindThread(FindThreadByUid, (void*)uid);
119 thread_registry->JoinThread(tid, /* arg */nullptr);
133 thread_registry
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp212 ThreadRegistryLock l(ctx->thread_registry);
214 ctx->thread_registry->RunCallbackForEachThreadLocked(
227 ctx->thread_registry->GetNumberOfThreads(0, 0, &result);
236 ctx->thread_registry->CreateThread(uid, detached, parent_tid, &args);
238 StatSet(thr, StatThreadMaxAlive, ctx->thread_registry->GetMaxAliveThreads());
260 ThreadRegistry *tr = ctx->thread_registry;
285 ctx->thread_registry->FinishThread(thr->tid);
298 int res = ctx->thread_registry->FindThread(FindThreadByUid, (void*)uid);
307 ctx->thread_registry->JoinThread(tid, thr);
313 ctx->thread_registry
[all...]
H A Dtsan_debugging.cpp218 ctx->thread_registry->Lock();
220 ctx->thread_registry->Unlock();
255 ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid);
H A Dtsan_rtl_report.cpp146 ctx->thread_registry->CheckLocked();
219 ctx->thread_registry->CheckLocked();
221 ctx->thread_registry->FindThreadContextLocked(
226 ctx->thread_registry->CheckLocked();
228 ctx->thread_registry->GetThreadLocked(tid));
243 ctx->thread_registry->CheckLocked();
245 ctx->thread_registry->FindThreadContextLocked(IsInStackOrTls,
684 ThreadRegistryLock l0(ctx->thread_registry);
695 ctx->thread_registry->GetThreadLocked(s.tid()));
H A Dtsan_rtl_mutex.cpp54 ThreadRegistryLock l(ctx->thread_registry);
111 ThreadRegistryLock l(ctx->thread_registry);
427 ThreadRegistryLock l(ctx->thread_registry);
428 ctx->thread_registry->RunCallbackForEachThreadLocked(
471 ThreadRegistryLock l(ctx->thread_registry);
472 ctx->thread_registry->RunCallbackForEachThreadLocked(
516 ThreadRegistryLock l(ctx->thread_registry);
H A Dtsan_rtl.cpp101 , thread_registry(new(thread_registry_placeholder) ThreadRegistry(
141 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads);
495 ctx->thread_registry->Lock();
501 ctx->thread_registry->Unlock();
506 ctx->thread_registry->Unlock();
509 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */);
H A Dtsan_mman.cpp154 ThreadRegistryLock l(ctx->thread_registry);
H A Dtsan_rtl.h543 ThreadRegistry *thread_registry; member in struct:__tsan::Context
H A Dtsan_interceptors_posix.cpp1930 ThreadRegistryLock l(ctx->thread_registry);
2283 __tsan::ctx->thread_registry->SetThreadNameByUserId(thread, name)

Completed in 87 milliseconds