Qt 4.8
Public Functions | Properties | List of all members
QCriticalSection Class Reference

Public Functions

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

Properties

CRITICAL_SECTION section
 

Detailed Description

Definition at line 48 of file qatomic_generic_windows.cpp.

Constructors and Destructors

◆ QCriticalSection()

QCriticalSection::QCriticalSection ( )
inline

Definition at line 51 of file qatomic_generic_windows.cpp.

51 { InitializeCriticalSection(&section); }

◆ ~QCriticalSection()

QCriticalSection::~QCriticalSection ( )
inline

Definition at line 52 of file qatomic_generic_windows.cpp.

52 { DeleteCriticalSection(&section); }

Functions

◆ lock()

void QCriticalSection::lock ( )
inline

◆ unlock()

void QCriticalSection::unlock ( )
inline

Properties

◆ section

CRITICAL_SECTION QCriticalSection::section
private

Definition at line 57 of file qatomic_generic_windows.cpp.

Referenced by lock(), QCriticalSection(), unlock(), and ~QCriticalSection().


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