Resolve "Release the Python Global Interpreter Lock (GIL) during execution"
Python application wrappers fail to release Python GIL.
In SWAG file otbApplication.i, setting module's parameter
thread to "1" allows application wrappers to release Python GIL.
In ITK, they also add
%feature("nothreadallow");. However if we do the same in otbApplication.i it seems to prevent the GIL to be correctly released. In the end, setting
thread to "1" seems enough.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
- All discussions are resolved
- At least 2
👍votes from core developers, no 👎vote.
- The feature branch is (reasonably) up-to-date with the base branch
- Dashboard is green
- Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
- Optionally, run
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -ion latest changes and commit