|
Nebula
|
#include <win32criticalsection.h>
Win32-implementation of critical section.
Critical section objects are used to protect a portion of code from parallel execution. Define a static critical section object and use its Enter() and Leave() methods to protect critical sections of your code.
Public Member Functions | |
| Win32CriticalSection () | |
| constructor | |
| ~Win32CriticalSection () | |
| destructor | |
| void | Enter () const |
| enter the critical section | |
| void | Leave () const |
| leave the critical section | |
Private Attributes | |
| CRITICAL_SECTION | criticalSection |
|
inline |
constructor
|
inline |
destructor
|
inline |
enter the critical section
|
inline |
leave the critical section
|
mutableprivate |