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

Catch signals and invoke shutdown reactions #64

Open
edwardalee opened this issue Apr 12, 2022 · 1 comment
Open

Catch signals and invoke shutdown reactions #64

edwardalee opened this issue Apr 12, 2022 · 1 comment
Labels
enhancement Enhancement of existing feature

Comments

@edwardalee
Copy link
Contributor

The generated C code should include code that catches signals (like control-C) and invokes shutdown reactions (probably by calling request_stop()). This should be done somewhat carefully, I think, perhaps with a timeout that exits anyway if the call to request_stop() proves ineffective.

@edwardalee edwardalee added the enhancement Enhancement of existing feature label Apr 12, 2022
@lhstrh
Copy link
Member

lhstrh commented Apr 12, 2022

Related to lf-lang/lingua-franca#489.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants