kwave
18.07.70
|
#include <GlobalLock.h>
Public Member Functions | |
GlobalLock () | |
virtual | ~GlobalLock () |
Static Private Attributes | |
static QMutex | m_global_lock |
Wrapper for an application global lock. Use with care! (might be needed for protecting external non-threadsafe libraries)
Definition at line 33 of file GlobalLock.h.
Kwave::GlobalLock::GlobalLock | ( | ) |
Constructor, acquires the global lock
Definition at line 26 of file GlobalLock.cpp.
References m_global_lock.
|
virtual |
Destructor, releases the global lock
Definition at line 32 of file GlobalLock.cpp.
References m_global_lock.
|
staticprivate |
global lock, use with care!
Definition at line 44 of file GlobalLock.h.
Referenced by GlobalLock(), and ~GlobalLock().