Back to index

salome-kernel  6.5.0
Classes | Defines
Container_init_python.hxx File Reference
#include "SALOME_Container.hxx"
#include <SALOMEconfig.h>
#include <pthread.h>
#include <Python.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  CONTAINER_EXPORT

Defines

#define Py_ACQUIRE_NEW_THREAD
#define Py_RELEASE_NEW_THREAD

Define Documentation

Value:
PyEval_AcquireLock(); \
  PyThreadState *myTstate = PyThreadState_New(KERNEL_PYTHON::_interp); \
  PyThreadState_Swap(myTstate);

Definition at line 55 of file Container_init_python.hxx.

Value:
PyEval_ReleaseThread(myTstate); \
  PyThreadState_Delete(myTstate);

Definition at line 60 of file Container_init_python.hxx.