#include <gil.h>
Definition at line 138 of file gil.h.
◆ gil_scoped_release() [1/2]
gil_scoped_release::gil_scoped_release |
( |
bool |
disassoc = false | ) |
|
|
inlineexplicit |
◆ gil_scoped_release() [2/2]
◆ ~gil_scoped_release()
gil_scoped_release::~gil_scoped_release |
( |
| ) |
|
|
inline |
◆ disarm()
This method will disable the PyThreadState_DeleteCurrent call and the GIL won't be acquired. This method should be used if the interpreter could be shutting down when this is called, as thread deletion is not allowed during shutdown. Check _Py_IsFinalizing() on Python 3.7+, and protect subsequent code.
Definition at line 165 of file gil.h.
◆ operator=()
◆ active
bool gil_scoped_release::active = true |
|
private |
◆ disassoc
bool gil_scoped_release::disassoc |
|
private |
◆ tstate
PyThreadState* gil_scoped_release::tstate |
|
private |
The documentation for this class was generated from the following file: