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

Handle signals and termination of main #126

Open
facundominguez opened this issue Dec 15, 2017 · 0 comments
Open

Handle signals and termination of main #126

facundominguez opened this issue Dec 15, 2017 · 0 comments

Comments

@facundominguez
Copy link
Member

Sending the SIGTERM or SIGINT signals to a sparkle application sends the signals to the process. Handlers should be installed to terminate the thread running  the main function of Haskell. The main thread in turn cannot die with a Haskell exception, or the RTS will kill the application on the spot without giving spark a chance to cleanup the temporary files it has created.

@facundominguez facundominguez changed the title Handling of signals and termination of main Handle signals and termination of main Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant