Lines Matching refs:MUs
1424 static Mutex *MUs[Nlog];
1428 // ARR[i] is protected by MUs from i-th subset of all MUs
1429 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Lock();
1431 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Unlock();
1439 MUs[i] = new Mutex;
1445 delete MUs[i];
1473 std::vector<Mutex*> mus;
1479 mus.push_back(new Mutex);
1480 mus.back()->Lock();
1481 mus.back()->Unlock();
1495 for (size_t i = 0; i < mus.size(); i++) {
1496 delete mus[i];