![]() |
RDK Documentation (Open Sourced RDK Components)
|
#include <Mutex.hpp>
Public Member Functions | |
Mutex (void) | |
Constructor. Creates Mutex object. More... | |
Mutex (const Mutex &) | |
Mutex & | operator= (const Mutex &) |
~Mutex (void) | |
Destructor Destroys the Mutex object. More... | |
void | lock (void) |
Locks the given mutex. More... | |
void | unlock (void) |
Unlocks the given mutex. More... | |
void * | getNativeHandle (void) |
Retrieves handle to the underlying native mutex implementation. More... | |
Private Attributes | |
void * | nativeHandle |
This class provides synchronization primitive for implementing critical sections and protect shared data from concurrent access. This class provides functionaliy of a recurisive (same thread can take the lock multiple times) mutual exclusive lock.