Public Member Functions | Private Attributes | List of all members
QCriticalSection Class Reference

Public Member Functions

 QCriticalSection ()
 
 ~QCriticalSection ()
 
void lock ()
 
void unlock ()
 

Private Attributes

CRITICAL_SECTION section
 

Detailed Description

Definition at line 72 of file qmutex_win32.cpp.

Constructor & Destructor Documentation

QCriticalSection::QCriticalSection ( )
inline

Definition at line 75 of file qmutex_win32.cpp.

75 { InitializeCriticalSection(&section); }
CRITICAL_SECTION section
QCriticalSection::~QCriticalSection ( )
inline

Definition at line 76 of file qmutex_win32.cpp.

76 { DeleteCriticalSection(&section); }
CRITICAL_SECTION section

Member Function Documentation

void QCriticalSection::lock ( )
inline

Definition at line 77 of file qmutex_win32.cpp.

77 { EnterCriticalSection(&section); }
CRITICAL_SECTION section
void QCriticalSection::unlock ( )
inline

Definition at line 78 of file qmutex_win32.cpp.

78 { LeaveCriticalSection(&section); }
CRITICAL_SECTION section

Member Data Documentation

CRITICAL_SECTION QCriticalSection::section
private

Definition at line 81 of file qmutex_win32.cpp.


The documentation for this class was generated from the following file: