RDK Documentation (Open Sourced RDK Components)
CCEC_OSAL::Mutex Class Reference

#include <Mutex.hpp>

Collaboration diagram for CCEC_OSAL::Mutex:
Collaboration graph

Public Member Functions

 Mutex (void)
 Constructor. Creates Mutex object. More...
 
 Mutex (const Mutex &)
 
Mutexoperator= (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
 

yes

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.

Definition at line 53 of file Mutex.hpp.


The documentation for this class was generated from the following files: