This is the documentation for Enlighten.

class Geo GeoCriticalSection

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.


Geo::GeoCriticalSection::~GeoCriticalSection


public: ~GeoCriticalSection()


Destructor.


void Geo::GeoCriticalSection::Enter


public: void Enter()


Grab the critical section, waiting for it to become available if necessary.


Geo::GeoCriticalSection::GeoCriticalSection


public: GeoCriticalSection()


Constructor.


void Geo::GeoCriticalSection::Leave


public: void Leave()


Release the critical section.


bool Geo::GeoCriticalSection::TryEnter


public: bool TryEnter()


Attempt to grab the critical section if it is available.