Lines Matching defs:tctx
35 ThreadContext *tctx;
41 auto *tctx = static_cast<ThreadContext *>(tctx_base);
42 if (tctx->detached || tctx->status != ThreadStatusFinished)
45 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) {
50 leaks.PushBack({tctx, 1});
57 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) {
58 if (tctx->tid == kMainTid) {
62 " created at:\n", tctx->tid, tctx->name);
63 PrintStack(SymbolizeStackId(tctx->creation_stack_id));
78 ReportIgnoresEnabled(thr->tctx, &thr->mop_ignore_set);
80 ReportIgnoresEnabled(thr->tctx, &thr->sync_ignore_set);
97 rep.AddThread(leaks[i].tctx, true);
157 if (thr->tctx->sync_epoch == ctx->global_epoch)
158 thr->clock.Acquire(thr->tctx->sync);
161 Free(thr->tctx->sync);
213 thr->tctx = this;
234 if (!thr->tctx->detached) {
235 thr->clock.ReleaseStore(&thr->tctx->sync);
236 thr->tctx->sync_epoch = ctx->global_epoch;
277 thr->tctx = nullptr;
283 ThreadContextBase *tctx;