Home
last modified time | relevance | path

Searched refs:crit_sect (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/system_wrappers/source/
Dcritical_section_unittest.cc45 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) in ProtectedCount() argument
46 : crit_sect_(crit_sect), in ProtectedCount()
100 CriticalSectionWrapper* crit_sect in TEST_F() local
102 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() local
134 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 …]
/external/webrtc/src/system_wrappers/interface/
Dstatic_instance.h48 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()