Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XbmcThreads::CRecursiveMutex Class Reference

This class exists purely for the ability to set mutex attribute PTHREAD_PRIO_INHERIT. Currently there is no way to set this using std::recursive_mutex. More...

#include <RecursiveMutex.h>

Public Member Functions

 CRecursiveMutex (const CRecursiveMutex &)=delete
 
CRecursiveMutexoperator= (const CRecursiveMutex &)=delete
 
 CRecursiveMutex ()
 
 ~CRecursiveMutex ()
 
void lock ()
 
void unlock ()
 
bool try_lock ()
 
std::recursive_mutex::native_handle_type native_handle ()
 

Detailed Description

This class exists purely for the ability to set mutex attribute PTHREAD_PRIO_INHERIT. Currently there is no way to set this using std::recursive_mutex.

Constructor & Destructor Documentation

◆ CRecursiveMutex() [1/2]

XbmcThreads::CRecursiveMutex::CRecursiveMutex ( const CRecursiveMutex & )
delete

◆ CRecursiveMutex() [2/2]

XbmcThreads::CRecursiveMutex::CRecursiveMutex ( )
inline

◆ ~CRecursiveMutex()

XbmcThreads::CRecursiveMutex::~CRecursiveMutex ( )
inline

Member Function Documentation

◆ lock()

void XbmcThreads::CRecursiveMutex::lock ( )
inline

◆ native_handle()

std::recursive_mutex::native_handle_type XbmcThreads::CRecursiveMutex::native_handle ( )
inline

◆ operator=()

CRecursiveMutex & XbmcThreads::CRecursiveMutex::operator= ( const CRecursiveMutex & )
delete

◆ try_lock()

bool XbmcThreads::CRecursiveMutex::try_lock ( )
inline

◆ unlock()

void XbmcThreads::CRecursiveMutex::unlock ( )
inline

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