DBus::DefaultMutex Class Reference
#include <eventloop.h>
Public Member Functions | |
DefaultMutex () | |
DefaultMutex (bool recursive) | |
~DefaultMutex () | |
void | lock () |
void | unlock () |
Private Attributes | |
pthread_mutex_t | _mutex |
Detailed Description
Definition at line 174 of file eventloop.h.
Constructor & Destructor Documentation
DefaultMutex::DefaultMutex | ( | ) |
DefaultMutex::DefaultMutex | ( | bool | recursive | ) |
Constructor
- Parameters:
-
recursive Set if Mutex should be recursive or not.
Definition at line 84 of file eventloop.cpp.
References _mutex.
DefaultMutex::~DefaultMutex | ( | ) |
Definition at line 97 of file eventloop.cpp.
References _mutex.
Member Function Documentation
void DefaultMutex::lock | ( | ) |
Definition at line 102 of file eventloop.cpp.
References _mutex.
Referenced by DBus::DefaultTimeout::DefaultTimeout(), DBus::DefaultWatch::DefaultWatch(), DBus::DefaultMainLoop::dispatch(), DBus::Dispatcher::dispatch_pending(), DBus::Dispatcher::has_something_to_dispatch(), DBus::Dispatcher::queue_connection(), DBus::DefaultMainLoop::~DefaultMainLoop(), DBus::DefaultTimeout::~DefaultTimeout(), and DBus::DefaultWatch::~DefaultWatch().
void DefaultMutex::unlock | ( | ) |
Definition at line 107 of file eventloop.cpp.
References _mutex.
Referenced by DBus::DefaultTimeout::DefaultTimeout(), DBus::DefaultWatch::DefaultWatch(), DBus::DefaultMainLoop::dispatch(), DBus::Dispatcher::dispatch_pending(), DBus::Dispatcher::has_something_to_dispatch(), DBus::Dispatcher::queue_connection(), DBus::DefaultMainLoop::~DefaultMainLoop(), DBus::DefaultTimeout::~DefaultTimeout(), and DBus::DefaultWatch::~DefaultWatch().
Member Data Documentation
pthread_mutex_t DBus::DefaultMutex::_mutex [private] |
Definition at line 197 of file eventloop.h.
Referenced by DefaultMutex(), lock(), unlock(), and ~DefaultMutex().
The documentation for this class was generated from the following files: