Searched refs:crit_sect (Results 1 - 11 of 11) sorted by last modified time

/external/webrtc/src/system_wrappers/interface/
H A Dstatic_instance.h48 static CriticalSectionWrapper* crit_sect(
50 CriticalSectionScoped lock(crit_sect);
80 crit_sect->Leave();
86 crit_sect->Enter();
/external/webrtc/src/system_wrappers/source/
H A Dcritical_section_unittest.cc45 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) argument
46 : crit_sect_(crit_sect),
100 CriticalSectionWrapper* crit_sect local
102 ProtectedCount count(crit_sect);
106 crit_sect->Enter();
114 crit_sect->Leave(); // This frees the thread to act.
118 delete crit_sect;
132 CriticalSectionWrapper* crit_sect local
134 ProtectedCount count(crit_sect);
138 crit_sect
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
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();
/external/chromium_org/third_party/webrtc/system_wrappers/source/
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_event_win.h25 void SleepCS(CriticalSectionWrapper& crit_sect);
26 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_native_win.h39 void SleepCS(CriticalSectionWrapper& crit_sect);
40 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
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_posix.h26 virtual void SleepCS(CriticalSectionWrapper& crit_sect) OVERRIDE;
27 virtual bool SleepCS(CriticalSectionWrapper& crit_sect,
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);
84 crit_sect->Enter();
92 crit_sect->Leave(); // This frees the thread to act.
96 delete crit_sect;
107 CriticalSectionWrapper* crit_sect = variable
109 ProtectedCount count(crit_sect);
113 crit_sect
[all...]

Completed in 127 milliseconds