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

Free the alternate signal stack when the main OCaml code / an OCaml thread stops #10726

Merged
merged 4 commits into from
Dec 6, 2021

Commits on Dec 6, 2021

  1. Free the alternate signal stack when thread / process stops

    Commit fc95347 introduced dynamic allocation of the alternate stack
    used to process signals.
    
    This commit makes sure the dynamically-allocated stack is freed when
    the main OCaml code terminates or an OCaml thread terminates.
    
    In passing, we also reset relevant signal handlers to their default behavior
    when the main OCaml code terminates.
    
    Refactoring: add declaration of caml_init_signals and
    caml_terminate_signals to <caml/signals.h>.
    
    Fixes: ocaml#10698
    xavierleroy committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    04118b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b70fac2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14038f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f270eb View commit details
    Browse the repository at this point in the history