Searched refs:critical_section_ (Results 1 – 16 of 16) sorted by relevance
23 critical_section_ = CriticalSectionWrapper::CreateCriticalSection(); in RWLockGeneric()31 delete critical_section_; in ~RWLockGeneric()35 CriticalSectionScoped cs(critical_section_); in AcquireLockExclusive()39 write_condition_->SleepCS(*critical_section_); in AcquireLockExclusive()47 CriticalSectionScoped cs(critical_section_); in ReleaseLockExclusive()57 CriticalSectionScoped cs(critical_section_); in AcquireLockShared()62 read_condition_->SleepCS(*critical_section_); in AcquireLockShared()70 CriticalSectionScoped cs(critical_section_); in ReleaseLockShared()
34 CriticalSectionWrapper* critical_section_;
34 scoped_ptr<CriticalSectionWrapper> critical_section_; member in webrtc::RtpHeaderParserImpl35 RtpHeaderExtensionMap rtp_header_extension_map_ GUARDED_BY(critical_section_);43 : critical_section_(CriticalSectionWrapper::CreateCriticalSection()) {} in RtpHeaderParserImpl()58 CriticalSectionScoped cs(critical_section_.get()); in Parse()71 CriticalSectionScoped cs(critical_section_.get()); in RegisterRtpHeaderExtension()76 CriticalSectionScoped cs(critical_section_.get()); in DeregisterRtpHeaderExtension()
55 rtc::CritScope cs(&critical_section_); in SetMaxSize()60 rtc::CritScope cs(&critical_section_); in Enable()78 rtc::CritScope cs(&critical_section_); in OnPacket()94 rtc::CritScope cs(&critical_section_); in set_packet_filter()102 rtc::CritScope cs(&critical_section_); in Flush()114 rtc::CritScope cs(&critical_section_); in ~MediaRecorder()145 rtc::CritScope cs(&critical_section_); in InternalAddChannel()164 rtc::CritScope cs(&critical_section_); in RemoveChannel()177 rtc::CritScope cs(&critical_section_); in EnableChannel()216 rtc::CritScope cs(&critical_section_); in FlushSinks()
74 rtc::CriticalSection critical_section_; variable112 rtc::CriticalSection critical_section_; variable
48 : critical_section_(CriticalSectionWrapper::CreateCriticalSection()), in ListWrapper()66 delete critical_section_; in ~ListWrapper()82 CriticalSectionScoped lock(critical_section_); in PushBack()90 CriticalSectionScoped lock(critical_section_); in PushBack()98 CriticalSectionScoped lock(critical_section_); in PushFront()106 CriticalSectionScoped lock(critical_section_); in PushFront()162 CriticalSectionScoped lock(critical_section_); in Insert()198 CriticalSectionScoped lock(critical_section_); in InsertBefore()
50 : critical_section_(CriticalSectionWrapper::CreateCriticalSection()), in MapNoStl()66 delete critical_section_; in ~MapNoStl()78 CriticalSectionScoped lock(critical_section_); in Insert()147 CriticalSectionScoped lock(critical_section_); in Find()158 CriticalSectionScoped lock(critical_section_); in Erase()164 CriticalSectionScoped lock(critical_section_); in Erase()
62 CriticalSection* critical_section_; variable
71 CriticalSectionWrapper* critical_section_; variable
41 rtc::CritScope cs(&critical_section_); in AddRenderer()51 rtc::CritScope cs(&critical_section_); in RemoveRenderer()62 rtc::CritScope cs(&critical_section_); in SetEnabled()67 rtc::CritScope cs(&critical_section_); in SetSize()79 rtc::CritScope cs(&critical_section_); in RenderFrame()
72 rtc::CriticalSection critical_section_; // Protects the above variables variable
202 critical_section_(new CRITICAL_SECTION) { in Mutex()203 ::InitializeCriticalSection(critical_section_); in Mutex()213 ::DeleteCriticalSection(critical_section_); in ~Mutex()214 delete critical_section_; in ~Mutex()215 critical_section_ = NULL; in ~Mutex()221 ::EnterCriticalSection(critical_section_); in Lock()231 ::LeaveCriticalSection(critical_section_); in Unlock()252 critical_section_ = new CRITICAL_SECTION; in ThreadSafeLazyInit()253 ::InitializeCriticalSection(critical_section_); in ThreadSafeLazyInit()
181 rtc::CritScope cs(&critical_section_); in SetInputFormat()222 rtc::CritScope cs(&critical_section_); in SetOutputFormat()235 rtc::CritScope cs(&critical_section_); in input_format()244 rtc::CritScope cs(&critical_section_); in output_format()249 rtc::CritScope cs(&critical_section_); in SetBlackOutput()266 rtc::CritScope cs(&critical_section_); in AdaptFrame()
104 rtc::CriticalSection critical_section_; variable
100 CriticalSectionWrapper* critical_section_; variable
1657 _RTL_CRITICAL_SECTION* critical_section_;