reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
166 MemoryReadAtomic(thr, pc, addr, kSizeLog1); 167 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); 169 thr->fast_state.IncrementEpoch(); 170 TraceAddEvent(thr, thr->fast_state, EventTypeLock, s->GetId()); 170 TraceAddEvent(thr, thr->fast_state, EventTypeLock, s->GetId()); 174 s->owner_tid = thr->tid; 175 s->last_lock = thr->fast_state.raw(); 176 } else if (s->owner_tid == thr->tid) { 185 StatInc(thr, StatMutexLock); 186 AcquireImpl(thr, pc, &s->clock); 187 AcquireImpl(thr, pc, &s->read_clock); 189 StatInc(thr, StatMutexRecLock); 191 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 191 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 196 Callback cb(thr, pc); 206 ReportMutexMisuse(thr, pc, ReportTypeMutexDoubleLock, addr, mid); 208 Callback cb(thr, pc); 209 ReportDeadlock(thr, pc, ctx->dd->GetReport(&cb));