Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Python bindings thread-friendly #2442

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on May 23, 2019

  1. Make Python bindings thread-friendly

    - Disable "pythonlogger" as it locks the GIL.  This would cause the GIL
      to be locked for every line of console output from, e.g., IPOPT.
    - Wrap DM function calls in Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
      so that the GIL is released during numeric CasADi function calls.
    Jorn Baayen committed May 23, 2019
    Configuration menu
    Copy the full SHA
    4fb5ca4 View commit details
    Browse the repository at this point in the history