Lines Matching defs:sync
24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {}
31 void ThreadContext::OnReset() { CHECK(!sync); }
111 VectorClock *sync;
125 thr->clock.ReleaseStore(&arg.sync);
137 sync = args->sync;
158 thr->clock.Acquire(thr->tctx->sync);
161 Free(thr->tctx->sync);
235 thr->clock.ReleaseStore(&thr->tctx->sync);
291 VectorClock *sync;
303 thr->clock.Acquire(arg.sync);
305 Free(arg.sync);
310 arg->sync = sync;
312 sync = nullptr;
316 void ThreadContext::OnDead() { CHECK_EQ(sync, nullptr); }
323 void ThreadContext::OnDetached(void *arg) { Free(sync); }