6 inline void enter() throw() {EnterCriticalSection(&sec);}
7 inline void leave() throw() {LeaveCriticalSection(&sec);}
9 #ifdef PFC_WINDOWS_DESKTOP_APP 12 InitializeCriticalSectionEx(&sec,0,0);
15 inline void destroy() throw() {DeleteCriticalSection(&sec);}
25 #if !PFC_LEAK_STATIC_OBJECTS 49 #define insync(X) c_insync blah____sync(X) 57 #if _WIN32_WINNT < 0x600 89 AcquireSRWLockShared( & theLock );
92 AcquireSRWLockExclusive( & theLock );
95 ReleaseSRWLockShared( & theLock );
98 ReleaseSRWLockExclusive( &theLock );
128 #define inReadSync( X ) ::pfc::_readWriteLock_scope_read _asdf_l_readWriteLock_scope_read( X ) 129 #define inWriteSync( X ) ::pfc::_readWriteLock_scope_write _asdf_l_readWriteLock_scope_write( X )
_critical_section_base & m_section
_readWriteLock_scope_read(readWriteLock &lock)
c_insync(_critical_section_base &p_section)
~critical_section_static()
_readWriteLock_scope_write(readWriteLock &lock)
~_readWriteLock_scope_read()
pfc::mutexRecur critical_section
void InitializeCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
~_readWriteLock_scope_write()
void operator=(const _critical_section_base &)
c_insync(_critical_section_base *p_section)
critical_section_static()