AST-945 Protect embedded python code by mutex
Compare changes
- Bas van der Tol authored
@@ -9,6 +9,8 @@
@@ -197,6 +199,9 @@ float PythonDeconvolution::ExecuteMajorIteration(
Embedded python code can not be run multi threaded. This MR protects the execution of embedded python by a mutex.
An alternative would be to use a Global Interpreter Lock (GIL), but that caused a dead lock in parallel deconvolution.