The Nebula Device 3: OSX::OSXCriticalSection Class Reference

The Nebula Device 3

OSX::OSXCriticalSection Class Reference

#include <osxcriticalsection.h>


Detailed Description

On OSX, pthread mutexes are used for critical sections.

Todo:
: Add debugging asserts? If yes wrap with new __NEBULA3-define
(C) 2010 Radon Labs GmbH

Public Member Functions

 OSXCriticalSection ()
 constructor
 ~OSXCriticalSection ()
 destructor
void Enter () const
 enter the critical section
void Leave () const
 leave the critical section