-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix signal handler #3
Comments
@elfring It is nice to point out - are you going to submit a PR later on? |
Would you like to consider software design options like the following? |
In theory yes, the question is more about who is going to implement them, I guess |
Are you willing to dedicate another thread for receiving of notifications by the function "sigwaitinfo" or "select"? |
that random link is broken now, so here's the official list of async-signal-safe functions. wrt |
The functions "ioctl" and "exit" do not belong to the list of async-signal-safe functions.
I guess that a different program design will be needed for your functions "gpm_winch_hook" and "killed".
The text was updated successfully, but these errors were encountered: