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
   84   if (s == 0)
   87       || s->IsFlagSet(MutexFlagLinkerInit)
   88       || ((flagz & MutexFlagNotStatic) && !s->IsFlagSet(MutexFlagNotStatic))) {
   90     s->mtx.Unlock();
   95     ctx->dd->MutexDestroy(&cb, &s->dd);
   96     ctx->dd->MutexInit(&cb, &s->dd);
  100       && s->owner_tid != SyncVar::kInvalidTid
  101       && !s->IsFlagSet(MutexFlagBroken)) {
  102     s->SetFlags(MutexFlagBroken);
  105   u64 mid = s->GetId();
  106   u64 last_lock = s->last_lock;
  108     s->Reset(thr->proc());  // must not reset it before the report is printed
  109   s->mtx.Unlock();