Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
Arc::PythonLock Class Reference
Collaboration diagram for Arc::PythonLock:
Collaboration graph

List of all members.

Public Member Functions

 PythonLock ()
 ~PythonLock ()
 PythonLock (Arc::Logger &logger)
 ~PythonLock (void)

Private Attributes

PyGILState_STATE gstate
PyGILState_STATE gstate_

Detailed Description

Definition at line 24 of file PythonBroker.cpp.

Constructor & Destructor Documentation

Definition at line 26 of file PythonBroker.cpp.

      gstate = PyGILState_Ensure();

Definition at line 29 of file PythonBroker.cpp.

Arc::PythonLock::PythonLock ( Arc::Logger logger) [inline]

Definition at line 322 of file pythonwrapper.cpp.

                                 :logger_(logger) {
        gstate_ = PyGILState_Ensure();
        logger_.msg(Arc::VERBOSE, "Python interpreter locked");

Here is the call graph for this function:

Arc::PythonLock::~PythonLock ( void  ) [inline]

Definition at line 326 of file pythonwrapper.cpp.

        logger_.msg(Arc::VERBOSE, "Python interpreter released");

Here is the call graph for this function:

Member Data Documentation

PyGILState_STATE Arc::PythonLock::gstate [private]

Definition at line 33 of file PythonBroker.cpp.

PyGILState_STATE Arc::PythonLock::gstate_ [private]

Definition at line 319 of file pythonwrapper.cpp.

Definition at line 320 of file pythonwrapper.cpp.

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