Salome HOME
Rationalize the GIL management of AdaoExchangeLayer class
[tools/adao_interface.git] / AdaoExchangeLayer.cxx
index a478bf0d77c9edf152ff23b4d6b94de5c5915d56..09e396f750aa8a9d1a88002be1d4386040e49c26 100644 (file)
@@ -280,6 +280,7 @@ private:
 
 void AdaoExchangeLayer::loadTemplate(AdaoModel::MainModel *model)
 {
+  AutoGIL agil;
   const char DECORATOR_FUNC[]="def DecoratorAdao(cppFunc):\n"
       "    def evaluator( xserie ):\n"
       "        import numpy as np\n"