ReactOS 0.4.15-dev-7674-gc0b4db1
ATL::CCriticalSection Class Reference

#include <atlsync.h>

Inheritance diagram for ATL::CCriticalSection:
Collaboration diagram for ATL::CCriticalSection:

Private Member Functions

 CCriticalSection ()
 
 ~CCriticalSection ()
 
void Enter ()
 
void Leave ()
 
BOOL TryEnter ()
 

Additional Inherited Members

- Public Attributes inherited from _CRITICAL_SECTION
PCRITICAL_SECTION_DEBUG DebugInfo
 
LONG LockCount
 
LONG RecursionCount
 
HANDLE OwningThread
 
HANDLE LockSemaphore
 
ULONG_PTR SpinCount
 

Detailed Description

Definition at line 18 of file atlsync.h.

Constructor & Destructor Documentation

◆ CCriticalSection()

ATL::CCriticalSection::CCriticalSection ( )
inlineprivate

Definition at line 20 of file atlsync.h.

21 {
23 }
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
Definition: synch.c:751

◆ ~CCriticalSection()

ATL::CCriticalSection::~CCriticalSection ( )
inlineprivate

Definition at line 25 of file atlsync.h.

26 {
28 }
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)

Member Function Documentation

◆ Enter()

void ATL::CCriticalSection::Enter ( )
inlineprivate

Definition at line 30 of file atlsync.h.

31 {
33 }
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)

◆ Leave()

void ATL::CCriticalSection::Leave ( )
inlineprivate

Definition at line 35 of file atlsync.h.

36 {
38 }
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)

◆ TryEnter()

BOOL ATL::CCriticalSection::TryEnter ( )
inlineprivate

Definition at line 40 of file atlsync.h.

41 {
42 return ::TryEnterCriticalSection(this);
43 }

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