Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CExclusiveLock Class Reference

#include <SharedSection.h>

Inheritance diagram for CExclusiveLock:
XbmcThreads::UniqueLock< CSharedSection >

Public Member Functions

 CExclusiveLock (CSharedSection &cs)
 
bool IsOwner () const
 
void Leave ()
 
void Enter ()
 
- Public Member Functions inherited from XbmcThreads::UniqueLock< CSharedSection >
bool owns_lock () const
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 
CSharedSectionget_underlying ()
 

Additional Inherited Members

- Protected Member Functions inherited from XbmcThreads::UniqueLock< CSharedSection >
 UniqueLock (CSharedSection &lockable)
 
 UniqueLock (CSharedSection &lockable, bool try_to_lock_discrim)
 
 ~UniqueLock ()
 
- Protected Attributes inherited from XbmcThreads::UniqueLock< CSharedSection >
CSharedSectionmutex
 
bool owns
 

Constructor & Destructor Documentation

◆ CExclusiveLock()

CExclusiveLock::CExclusiveLock ( CSharedSection cs)
inlineexplicit

Member Function Documentation

◆ Enter()

void CExclusiveLock::Enter ( )
inline

◆ IsOwner()

bool CExclusiveLock::IsOwner ( ) const
inline

◆ Leave()

void CExclusiveLock::Leave ( )
inline

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