kodi
Public Member Functions | List of all members
GilSafeSingleLock Class Reference

A std::unique_lock<CCriticalSection> that will relinquish the GIL during the time it takes to obtain the CriticalSection. More...

#include <pythreadstate.h>

Inheritance diagram for GilSafeSingleLock:
Inheritance graph
[legend]
Collaboration diagram for GilSafeSingleLock:
Collaboration graph
[legend]

Public Member Functions

 GilSafeSingleLock (CCriticalSection &critSec)
 
- Public Member Functions inherited from CPyThreadState
 CPyThreadState (bool save=true)
 
void Save ()
 
void Restore ()
 

Detailed Description

A std::unique_lock<CCriticalSection> that will relinquish the GIL during the time it takes to obtain the CriticalSection.


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