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

/external/webrtc/webrtc/system_wrappers/source/
H A Dcritical_section_unittest.cc32 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) argument
33 : crit_sect_(crit_sect),
78 CriticalSectionWrapper* crit_sect = variable
80 ProtectedCount count(crit_sect);
83 crit_sect->Enter();
91 crit_sect->Leave(); // This frees the thread to act.
94 delete crit_sect;
105 CriticalSectionWrapper* crit_sect = variable
107 ProtectedCount count(crit_sect);
110 crit_sect
[all...]
H A Dcondition_variable_event_win.h25 void SleepCS(CriticalSectionWrapper& crit_sect);
26 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
H A Dcondition_variable_posix.h26 void SleepCS(CriticalSectionWrapper& crit_sect) override;
27 bool SleepCS(CriticalSectionWrapper& crit_sect,
H A Dcondition_variable_native_win.h39 void SleepCS(CriticalSectionWrapper& crit_sect);
40 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
H A Dcondition_variable_native_win.cc83 void ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect) { argument
84 SleepCS(crit_sect, INFINITE);
87 bool ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect, argument
90 static_cast<CriticalSectionWindows*>(&crit_sect);
H A Dcondition_variable_event_win.cc120 void ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect) { argument
121 SleepCS(crit_sect, INFINITE);
124 bool ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect, argument
137 static_cast<CriticalSectionWindows*>(&crit_sect);
H A Dcondition_variable_posix.cc72 void ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect) { argument
74 &crit_sect);
78 bool ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect, argument
89 &crit_sect);
H A Dcondition_variable_unittest.cc189 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect(
193 CriticalSectionScoped cs(crit_sect.get());
195 EXPECT_FALSE(cond_var->SleepCS(*(crit_sect), kVeryShortWaitMs));
/external/webrtc/webrtc/system_wrappers/include/
H A Dcondition_variable_wrapper.h25 // Calling thread will atomically release crit_sect and wait until next
27 virtual void SleepCS(CriticalSectionWrapper& crit_sect) = 0;
30 virtual bool SleepCS(CriticalSectionWrapper& crit_sect,
H A Dstatic_instance.h48 static CriticalSectionWrapper* crit_sect(
50 CriticalSectionScoped lock(crit_sect);
80 crit_sect->Leave();
86 crit_sect->Enter();

Completed in 97 milliseconds