Skip to content

WIP: don't acquire GIL in gaudirun.py

Roel Aaij requested to merge raaij/Gaudi:gaudirun_no_GIL into master

While developing monitoring code for LHCb, I tried to use threads in the embedded python interpreter, which blocked on acquiring the GIL. The GIL is currently acquired by gaudirun.py though the use of PyDLL (but not when using python directly).

This MR proposes to not acquire the GIL, and calls to the Python API have therefore been protected.

Is the PythonScriptingSvc still in use?

Merge request reports