Declared in <XThread.h>
Access object. This provides the enter/exit semantics in a stack object for semaphore access; this provides a return-safe and throw-safe way of providing enter/exit semaphore access
Construction/Destruction
Construction/Destruction
Usage: XGCritical(XGSemaphore*x)
Constructs this object. Stores a pointer to the semaphore, and calls the semaphore's "EnterCritical" method.
Usage: ~XGCritical()
Destructs this object. This calls the "LeaveCritical" method of the stored semaphore