NEURON
PyLockGIL Class Reference

#include <nrnpy_utils.h>

Public Member Functions

 PyLockGIL ()
 
void release ()
 
 ~PyLockGIL ()
 

Private Member Functions

 PyLockGIL (const PyLockGIL &)
 
PyLockGILoperator= (const PyLockGIL &)
 

Private Attributes

PyGILState_STATE state_
 
bool locked_
 

Detailed Description

Definition at line 101 of file nrnpy_utils.h.

Constructor & Destructor Documentation

◆ PyLockGIL() [1/2]

PyLockGIL::PyLockGIL ( )
inline

Definition at line 104 of file nrnpy_utils.h.

◆ ~PyLockGIL()

PyLockGIL::~PyLockGIL ( )
inline

Definition at line 118 of file nrnpy_utils.h.

◆ PyLockGIL() [2/2]

PyLockGIL::PyLockGIL ( const PyLockGIL )
private

Member Function Documentation

◆ operator=()

PyLockGIL& PyLockGIL::operator= ( const PyLockGIL )
private

◆ release()

void PyLockGIL::release ( )
inline

Definition at line 112 of file nrnpy_utils.h.

Member Data Documentation

◆ locked_

bool PyLockGIL::locked_
private

Definition at line 127 of file nrnpy_utils.h.

◆ state_

PyGILState_STATE PyLockGIL::state_
private

Definition at line 126 of file nrnpy_utils.h.


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