|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <SingleLock.h>
Public Member Functions | |
| CSingleLock (CCriticalSection &cs) | |
| void | Leave () |
| void | Enter () |
Public Member Functions inherited from XbmcThreads::UniqueLock< CCriticalSection > | |
| bool | owns_lock () const |
| void | lock () |
| bool | try_lock () |
| void | unlock () |
| CCriticalSection & | get_underlying () |
Protected Member Functions | |
| CSingleLock (CCriticalSection &cs, bool dicrim) | |
Protected Member Functions inherited from XbmcThreads::UniqueLock< CCriticalSection > | |
| UniqueLock (CCriticalSection &lockable) | |
| UniqueLock (CCriticalSection &lockable, bool try_to_lock_discrim) | |
| ~UniqueLock () | |
Additional Inherited Members | |
Protected Attributes inherited from XbmcThreads::UniqueLock< CCriticalSection > | |
| CCriticalSection & | mutex |
| bool | owns |
This implements a "guard" pattern for a CCriticalSection that borrows most of it's functionality from boost's unique_lock.
|
inlineexplicit |
|
inlineprotected |
|
inline |
|
inline |