-
Notifications
You must be signed in to change notification settings - Fork 652
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
Add SIGRTMIN and SIGRTMAX constants #1143
Comments
I use transmute for my purpose now and it works fine, but I wish getting rid of unsafe block. let signal: Signal = unsafe { std::mem::transmute(signal::SIGRTMIN() + 1) };
match kill(pid, signal) {
...
} |
I think this would be a reasonable change. However, you'll have to add support to libc first. And you'll need to deal with the fact that |
FYI, SIGRTMIN and SIGRTMAX have been added to libc in rust-lang/libc#2304. |
This is related to #495. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or at least remove Error on Signal::from_c_int, if signal is not between 0 and NSIG, so I can pass custom signals. Option here is also excess.
The text was updated successfully, but these errors were encountered: