Home | History | Annotate | Download | only in tests

Lines Matching refs:MUs

1734 static Mutex *MUs[Nlog];
1738 // ARR[i] is protected by MUs from i-th subset of all MUs
1739 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Lock();
1741 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Unlock();
1749 MUs[i] = new Mutex;
1755 delete MUs[i];
1783 std::vector<Mutex*> mus;
1789 mus.push_back(new Mutex);
1790 mus.back()->Lock();
1791 mus.back()->Unlock();
1805 for (size_t i = 0; i < mus.size(); i++) {
1806 delete mus[i];