Searched refs:crit_sect (Results 1 – 2 of 2) sorted by relevance
45 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) in ProtectedCount() argument46 : crit_sect_(crit_sect), in ProtectedCount()100 CriticalSectionWrapper* crit_sect in TEST_F() local102 ProtectedCount count(crit_sect); in TEST_F()106 crit_sect->Enter(); in TEST_F()114 crit_sect->Leave(); // This frees the thread to act. in TEST_F()118 delete crit_sect; in TEST_F()132 CriticalSectionWrapper* crit_sect in TEST_F() local134 ProtectedCount count(crit_sect); in TEST_F()138 crit_sect->Enter(); // Make sure counter stays 0 until we wait for it. in TEST_F()[all …]
48 static CriticalSectionWrapper* crit_sect( in GetStaticInstance()50 CriticalSectionScoped lock(crit_sect); in GetStaticInstance()80 crit_sect->Leave(); in GetStaticInstance()86 crit_sect->Enter(); in GetStaticInstance()