|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <pythreadstate.h>
Public Member Functions | |
| GilSafeSingleLock (CCriticalSection &critSec) | |
Public Member Functions inherited from CPyThreadState | |
| CPyThreadState (bool save=true) | |
| ~CPyThreadState () | |
| void | Save () |
| void | Restore () |
Public Member Functions inherited from CSingleLock | |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from CSingleLock | |
| 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 () | |
Protected Attributes inherited from XbmcThreads::UniqueLock< CCriticalSection > | |
| CCriticalSection & | mutex |
| bool | owns |
A CSingleLock that will relinquish the GIL during the time it takes to obtain the CriticalSection
|
inlineexplicit |