-
Notifications
You must be signed in to change notification settings - Fork 229
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
Support OS Signals #1030
Comments
I made a library for this: https://git.envs.net/iacore/janet-signal. I hard coded the signal numbers, so it may only be used on Linux. This is only a prototype. Not sure how to get signal numbers consistentyl on other platforms other than having accompanied C code. |
Currently I get a 404 for: https://git.envs.net/iacore/janet-signal |
I set it to private. Now it should be visible to all. |
Works here now, thanks :) |
Should it be closed? Janet has |
No. POSIX has more signal-related API than |
Currently, pressing Ctrl+C will abort all threads directly. Ideally, the user should be able to handle SIGINT and other signals gracefully.
The text was updated successfully, but these errors were encountered: