This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels