class Geo::GeoCriticalSection
Basic wrapper around a critical section object.
Required to protect code paths that are not multi-thread safe.
Functions
Name | Description |
---|---|
~GeoCriticalSection() | Destructor. |
Enter() | Grab the critical section, waiting for it to become available if necessary. |
GeoCriticalSection() | Constructor. |
Leave() | Release the critical section. |
TryEnter() | Attempt to grab the critical section if it is available. |
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoCriticalSection::~GeoCriticalSection
...
public: ~GeoCriticalSection()
...
Destructor.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoCriticalSection::Enter
...
public: void Enter()
...
Grab the critical section, waiting for it to become available if necessary.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoCriticalSection::GeoCriticalSection
...
public: GeoCriticalSection()
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoCriticalSection::Leave
...
public: void Leave()
...
Release the critical section.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoCriticalSection::TryEnter
...
public: bool TryEnter()
...
Attempt to grab the critical section if it is available.