- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# FUCriticalSection Class Reference
[Utility Classes.]

An OS dependent critical section. More...

`#include <FUCriticalSection.h>`

List of all members.

## Public Member Functions
| FUCriticalSection ()
| Constructor.
| ~FUCriticalSection ()
| Destructor.
void | Enter ()
| Enters the critical section, blocking if another thread is already in.
void | Leave ()
| Leaves the critical section, allowing other threads to enter.

## Detailed Description

An OS dependent critical section.

Currently only supported for WIN32.

## Member Function Documentation

void FUCriticalSection::Enter | ( |  | ) |

| Enters the critical section, blocking if another thread is already in. Note: a thread may call Enter multiple times and it will still enter to prevent it from deadlocking itself. It must then call Leave the same number of times.

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

- FUtils/FUCriticalSection.h