Lines Matching refs:mus
1738 static Mutex *MUs[Nlog];
1742 // ARR[i] is protected by MUs from i-th subset of all MUs
1743 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Lock();
1745 for (int j = 0; j < Nlog; j++) if (i & (1 << j)) MUs[j]->Unlock();
1753 MUs[i] = new Mutex;
1759 delete MUs[i];
1787 std::vector<Mutex*> mus;
1793 mus.push_back(new Mutex);
1794 mus.back()->Lock();
1795 mus.back()->Unlock();
1809 for (size_t i = 0; i < mus.size(); i++) {
1810 delete mus[i];