Salome HOME
5ca707663e6826cac01b53ba8fd9d2d03f9c86a8
[tools/adao_interface.git] / README.txt
1 _internal->_py_call_back : Py function intercepting multifunc call
2
3 _internal->_decorator_func : Decoration func around _internal->_py_call_back to deal with returned values of _internal->_py_call_back
4
5 ################# user GIL management in AdaoExchangeLayer
6
7 class AdaoExchangeLayer has been developped to be launched from any thread.
8
9 AdaoExchangeLayer manage the GIL (using AutoGIL) in its implementation.
10
11 Consequence the AdaoExchangeLayer instance should NOT be surrounded by GIL protection.
12
13 Consequence : AdaoExchangeLayer::initPythonIfNeeded initializes the python interpretor (if not already done) and let the GIL released to manage all python caller threads easily
14
15 Consequence : Using ADAO interface implies to protect python calls
16
17 ############## user GIL management in AdaoModel::MainModel
18
19 The custom MainModel overloading should be GIL protected by the user.