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 interchange threads daemons for less-hangy exit #2637

Merged
merged 2 commits into from
Apr 7, 2023

Commits on Mar 30, 2023

  1. Make interchange threads daemons for less-hangy exit

    When the interchange is killed by SIGINT/Ctrl-C, the main thread exits
    (due to a SIGINT generated KeyboardInterrupt exception) but the other
    two interchange threads do not. This means that the interchange process
    hangs without exiting.
    
    With the behaviour introduced by this PR, the main thread ending will
    now cause the (now daemon) threads to end too.
    
    This behaviour is different from the SIGTERM behaviour (which is how
    a clean parsl shutdown happens) - a SIGTERM kills all threads without
    opportunity for catching the exit, in the current signal handler
    configuration.
    benclifford committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    ccb9af4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Configuration menu
    Copy the full SHA
    a26b596 View commit details
    Browse the repository at this point in the history