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

#include <SharedSection.h>

Public Member Functions

 CSharedSection ()=default
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 
void lock_shared ()
 
bool try_lock_shared ()
 
void unlock_shared ()
 

Detailed Description

A CSharedSection is a mutex that satisfies the Shared Lockable concept (see Lockables.h).

Constructor & Destructor Documentation

◆ CSharedSection()

CSharedSection::CSharedSection ( )
inlinedefault

Member Function Documentation

◆ lock()

void CSharedSection::lock ( )
inline

◆ lock_shared()

void CSharedSection::lock_shared ( )
inline

◆ try_lock()

bool CSharedSection::try_lock ( )
inline

◆ try_lock_shared()

bool CSharedSection::try_lock_shared ( )
inline

◆ unlock()

void CSharedSection::unlock ( )
inline

◆ unlock_shared()

void CSharedSection::unlock_shared ( )
inline

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