Lines Matching refs:tctx
35 ThreadContext *tctx; member
41 auto *tctx = static_cast<ThreadContext *>(tctx_base); in CollectThreadLeaks() local
42 if (tctx->detached || tctx->status != ThreadStatusFinished) in CollectThreadLeaks()
45 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { in CollectThreadLeaks()
50 leaks.PushBack({tctx, 1}); in CollectThreadLeaks()
57 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { in ReportIgnoresEnabled() argument
58 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled()
62 " created at:\n", tctx->tid, tctx->name); in ReportIgnoresEnabled()
63 PrintStack(SymbolizeStackId(tctx->creation_stack_id)); in ReportIgnoresEnabled()
78 ReportIgnoresEnabled(thr->tctx, &thr->mop_ignore_set); in ThreadCheckIgnore()
80 ReportIgnoresEnabled(thr->tctx, &thr->sync_ignore_set); in ThreadCheckIgnore()
97 rep.AddThread(leaks[i].tctx, true); in ThreadFinalize()
157 if (thr->tctx->sync_epoch == ctx->global_epoch) in ThreadStart()
158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart()
161 Free(thr->tctx->sync); in ThreadStart()
208 thr->tctx = this; in OnStarted()
232 if (!thr->tctx->detached) { in ThreadFinish()
233 thr->clock.ReleaseStore(&thr->tctx->sync); in ThreadFinish()
234 thr->tctx->sync_epoch = ctx->global_epoch; in ThreadFinish()
275 thr->tctx = nullptr; in OnFinished()
281 ThreadContextBase *tctx; member