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

Adding to Mathics3 signal handling and going into an interactive SIGINT handler #1161

Open
rocky opened this issue Nov 10, 2024 · 0 comments

Comments

@rocky
Copy link
Member

rocky commented Nov 10, 2024

For handling TimeConstrained in systems like pyodide, we should consider adding a SIGALRM signal handler.

As mentioned in #1160 (comment) pyodide can probably send Python signals.

Another use for signal handling is for SIGINT to go break the current execution and go into in interactive mode mid-computation.

Consider also having Breakpoint[] hook into such an interactive signal hander.

@rocky rocky changed the title Consider adding signal handling to Mathics3 Adding to Mathics3 signal handling and going into an interactive SIGINT handler Nov 25, 2024
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