reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
  270   StatInc(thr, StatMutexReadLock);
  272     MemoryReadAtomic(thr, pc, addr, kSizeLog1);
  273   SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false);
  275   thr->fast_state.IncrementEpoch();
  276   TraceAddEvent(thr, thr->fast_state, EventTypeRLock, s->GetId());
  276   TraceAddEvent(thr, thr->fast_state, EventTypeRLock, s->GetId());
  284   AcquireImpl(thr, pc, &s->clock);
  285   s->last_lock = thr->fast_state.raw();
  286   thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
  286   thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
  291     Callback cb(thr, pc);
  301     ReportMutexMisuse(thr, pc, ReportTypeMutexBadReadLock, addr, mid);
  303     Callback cb(thr, pc);
  304     ReportDeadlock(thr, pc, ctx->dd->GetReport(&cb));