A python interpreter that saves the GIL when constructed and restores it when destructed
More...
#include <InstanceInterpreter.h>
A python interpreter that saves the GIL when constructed and restores it when destructed
◆ InstanceInterpreter() [1/2]
Basda::Python::InstanceInterpreter::InstanceInterpreter |
( |
| ) |
|
|
inlineprotected |
◆ ~InstanceInterpreter() [1/2]
Basda::Python::InstanceInterpreter::~InstanceInterpreter |
( |
| ) |
|
|
inlineprotected |
◆ InstanceInterpreter() [2/2]
Basda::Python::InstanceInterpreter::InstanceInterpreter |
( |
| ) |
|
|
inlineprotected |
◆ ~InstanceInterpreter() [2/2]
Basda::Python::InstanceInterpreter::~InstanceInterpreter |
( |
| ) |
|
|
inlineprotected |
◆ initialize() [1/2]
static void Basda::Python::InstanceInterpreter::initialize |
( |
| ) |
|
|
inlinestatic |
◆ initialize() [2/2]
static void Basda::Python::InstanceInterpreter::initialize |
( |
| ) |
|
|
inlinestatic |
◆ m_mainThreadState
PyThreadState * Basda::Python::InstanceInterpreter::m_mainThreadState |
|
protected |
The haven where the GIL is stored while python is active.
◆ s_instance
◆ s_mutex
static Nice::Mutex Basda::Python::InstanceInterpreter::s_mutex |
|
staticprotected |
The guard that is used while initializing any python interpreter.
The documentation for this class was generated from the following files: