Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <GIL.h>
Public Member Functions | |
GILLocker () | |
~GILLocker () | |
Static Public Member Functions | |
static size_t | getLockCount () |
Protected Attributes | |
PyGILState_STATE | m_state |
Friends | |
class | GILReleaser |
RAII for the Global Interlock: Acquires at construction and releases at destruction
Pyston::GILLocker::GILLocker | ( | ) |
Definition at line 25 of file GIL.cpp.
References m_state, and Pyston::s_lock_count.
|
static |
Definition at line 38 of file GIL.cpp.
References Pyston::s_lock_count.
|
friend |
|
protected |
Definition at line 38 of file GIL.h.
Referenced by GILLocker(), and ~GILLocker().