Home
last modified time | relevance | path

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

/external/webrtc/webrtc/system_wrappers/source/
Dcritical_section_unittest.cc32 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) in ProtectedCount() argument
33 : crit_sect_(crit_sect), in ProtectedCount()
78 CriticalSectionWrapper* crit_sect = in TEST_F() local
80 ProtectedCount count(crit_sect); in TEST_F()
83 crit_sect->Enter(); in TEST_F()
91 crit_sect->Leave(); // This frees the thread to act. in TEST_F()
94 delete crit_sect; in TEST_F()
105 CriticalSectionWrapper* crit_sect = in TEST_F() local
107 ProtectedCount count(crit_sect); in TEST_F()
110 crit_sect->Enter(); // Make sure counter stays 0 until we wait for it. in TEST_F()
[all …]
Dcondition_variable_native_win.cc83 void ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument
84 SleepCS(crit_sect, INFINITE); in SleepCS()
87 bool ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument
90 static_cast<CriticalSectionWindows*>(&crit_sect); in SleepCS()
Dcondition_variable_posix.cc72 void ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument
74 &crit_sect); in SleepCS()
78 bool ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument
89 &crit_sect); in SleepCS()
Dcondition_variable_event_win.cc120 void ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument
121 SleepCS(crit_sect, INFINITE); in SleepCS()
124 bool ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument
137 static_cast<CriticalSectionWindows*>(&crit_sect); in SleepCS()
Dcondition_variable_posix.h26 void SleepCS(CriticalSectionWrapper& crit_sect) override;
27 bool SleepCS(CriticalSectionWrapper& crit_sect,
Dcondition_variable_event_win.h25 void SleepCS(CriticalSectionWrapper& crit_sect);
26 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
Dcondition_variable_unittest.cc189 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect( in TEST() local
193 CriticalSectionScoped cs(crit_sect.get()); in TEST()
195 EXPECT_FALSE(cond_var->SleepCS(*(crit_sect), kVeryShortWaitMs)); in TEST()
Dcondition_variable_native_win.h39 void SleepCS(CriticalSectionWrapper& crit_sect);
40 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
/external/webrtc/webrtc/system_wrappers/include/
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()
Dcondition_variable_wrapper.h27 virtual void SleepCS(CriticalSectionWrapper& crit_sect) = 0;
30 virtual bool SleepCS(CriticalSectionWrapper& crit_sect,