The Nebula Device 3: Threading::CriticalSection Class Reference

The Nebula Device 3

Threading::CriticalSection Class Reference

#include <criticalsection.h>

Inheritance diagram for Threading::CriticalSection:

Win32::Win32CriticalSection


Detailed Description

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.

(C) 2006 Radon Labs GmbH

Public Member Functions

void Enter ()
 enter the critical section
void Leave ()
 leave the critical section