Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06506d5
)
Fix instable pb with starting SALOME on Windows
V7_4_0
author
vsr
<vsr@opencascade.com>
Wed, 28 May 2014 13:22:01 +0000
(17:22 +0400)
committer
vsr
<vsr@opencascade.com>
Wed, 28 May 2014 13:22:01 +0000
(17:22 +0400)
src/Container/Container_init_python.cxx
patch
|
blob
|
history
diff --git
a/src/Container/Container_init_python.cxx
b/src/Container/Container_init_python.cxx
index bc5e08baa1ad1e99b25749e74cfb8192d41c3855..2034b6d0bc81a59725d2e9054c42cdc464a65441 100644
(file)
--- a/
src/Container/Container_init_python.cxx
+++ b/
src/Container/Container_init_python.cxx
@@
-52,8
+52,8
@@
void KERNEL_PYTHON::init_python(int argc, char **argv)
Py_SetProgramName(salome_python);
Py_Initialize(); // Initialize the interpreter
PySys_SetArgv(argc, argv);
+ PyRun_SimpleString("import threading\n");
PyEval_InitThreads(); // Create (and acquire) the interpreter lock
PyEval_ReleaseLock(); // Py_InitThreads acquires the GIL
- PyRun_SimpleString("import threading\n");
}