Lines Matching defs:wxCriticalSection
201 // NB: wxCriticalSection object does not allocate any memory in its ctor
206 // just mutexes make all wxCriticalSection class functions inline
218 // directly working with wxCriticalSection class - it is safer
219 class WXDLLIMPEXP_BASE wxCriticalSection
223 wxCRITSECT_INLINE wxCriticalSection();
224 wxCRITSECT_INLINE ~wxCriticalSection();
263 DECLARE_NO_COPY_CLASS(wxCriticalSection)
267 // implement wxCriticalSection using mutexes
268 inline wxCriticalSection::wxCriticalSection() { }
269 inline wxCriticalSection::~wxCriticalSection() { }
271 inline void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }
272 inline void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); }
283 wxCriticalSectionLocker(wxCriticalSection& cs)
295 wxCriticalSection& m_critsect;
584 wxCriticalSection m_critsect;
680 #define wxCRIT_SECT_DECLARE(cs) static wxCriticalSection cs
681 #define wxCRIT_SECT_DECLARE_MEMBER(cs) wxCriticalSection cs