|
nux-0.9.46
|
#include <NuxCore/ThreadGNU.h>
Public Member Functions | |
| NCriticalSection () | |
| ~NCriticalSection () | |
| void | Lock () const |
| Enter critical section. | |
| void | Unlock () const |
| Leave critical section. | |
| nux::NCriticalSection::NCriticalSection | ( | ) | [inline] |
Initialize critical section.
| nux::NCriticalSection::~NCriticalSection | ( | ) | [inline] |
Destroy critical section.
| void nux::NCriticalSection::Lock | ( | ) | const [inline] |
Enter critical section.
Enter critical section. This function is made const so it can be used without restriction. For that matter, m_lock is made mutable.
Referenced by nux::NScopeLock::NScopeLock().
| void nux::NCriticalSection::Unlock | ( | ) | const [inline] |
Leave critical section.
Leave critical section. This function is made const so it can be used without restriction. For that matter, m_lock is made mutable.
Referenced by nux::NScopeLock::~NScopeLock().