|
Nebula
|
#include <osxcriticalsection.h>
On OSX, pthread mutexes are used for critical sections.
(C) 2010 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file
Public Member Functions | |
| OSXCriticalSection () | |
| constructor | |
| ~OSXCriticalSection () | |
| destructor | |
| void | Enter () const |
| enter the critical section | |
| void | Leave () const |
| leave the critical section | |
Private Attributes | |
| pthread_mutex_t | mutex |
|
inline |
constructor
|
inline |
destructor
|
inline |
enter the critical section
|
inline |
leave the critical section
|
mutableprivate |