Home
last modified time | relevance | path

Searched refs:findCtx (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cpp297 ConsumeThreadContext *findCtx = (ConsumeThreadContext *)arg; in ConsumeThreadByUid() local
298 if (tctx->user_id == findCtx->uid && tctx->status != ThreadStatusInvalid) { in ConsumeThreadByUid()
299 if (findCtx->tctx) { in ConsumeThreadByUid()
304 Report("ThreadSanitizer: dup thread with used id 0x%zx\n", findCtx->uid); in ConsumeThreadByUid()
307 findCtx->tctx = tctx; in ConsumeThreadByUid()
314 ConsumeThreadContext findCtx = {uid, nullptr}; in ThreadConsumeTid() local
315 ctx->thread_registry->FindThread(ConsumeThreadByUid, &findCtx); in ThreadConsumeTid()
316 int tid = findCtx.tctx ? findCtx.tctx->tid : ThreadRegistry::kUnknownTid; in ThreadConsumeTid()