reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
41 BlockingMutexLock lock(&ctx->report_mutex); 92 ctx = new(ctx_mem) Context(); 96 ctx->dd = DDetector::Create(flags()); 102 thr->dd_pt = ctx->dd->CreatePhysicalThread(); 103 thr->dd_lt = ctx->dd->CreateLogicalThread(id); 107 ctx->dd->DestroyPhysicalThread(thr->dd_pt); 108 ctx->dd->DestroyLogicalThread(thr->dd_lt); 116 MutexHashMap::Handle h(&ctx->mutex_map, m); 118 ctx->dd->MutexInit(&cb, &h->dd); 119 ctx->dd->MutexBeforeLock(&cb, &h->dd, writelock); 121 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 129 MutexHashMap::Handle h(&ctx->mutex_map, m); 131 ctx->dd->MutexInit(&cb, &h->dd); 132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); 134 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 142 MutexHashMap::Handle h(&ctx->mutex_map, m); 143 ctx->dd->MutexBeforeUnlock(&cb, &h->dd, writelock); 145 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 152 MutexHashMap::Handle h(&ctx->mutex_map, m, true); 155 ctx->dd->MutexDestroy(&cb, &h->dd);