Lines Matching refs:sync
24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext()
31 void ThreadContext::OnReset() { CHECK(!sync); } in OnReset()
111 VectorClock *sync; member
125 thr->clock.ReleaseStore(&arg.sync); in ThreadCreate()
137 sync = args->sync; in OnCreated()
158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart()
161 Free(thr->tctx->sync); in ThreadStart()
233 thr->clock.ReleaseStore(&thr->tctx->sync); in ThreadFinish()
289 VectorClock *sync; member
301 thr->clock.Acquire(arg.sync); in ThreadJoin()
303 Free(arg.sync); in ThreadJoin()
308 arg->sync = sync; in OnJoined()
310 sync = nullptr; in OnJoined()
314 void ThreadContext::OnDead() { CHECK_EQ(sync, nullptr); } in OnDead()
321 void ThreadContext::OnDetached(void *arg) { Free(sync); } in OnDetached()