-
Notifications
You must be signed in to change notification settings - Fork 674
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
signal::SigFlags should be enum instead of bitflags. #459
Comments
Fixing this would require some breaking changes, but I don't know what the policy on that is. |
A big part of the motivation for a changelog is to at least make it possible to see what has changed. Pre-1.0 we're fairly happy to make changes for API improvements. This is fixing the semantics of an API and should certainly be allowed, IMO. |
For more on this parameter: http://man7.org/linux/man-pages/man2/sigprocmask.2.html#DESCRIPTION Certainly agree this should be an enum. |
Change SigFlags into an enum. Addresses #459. This is a breaking change. Should SigFlags be renamed to something more sensible?
#460 is merged, so this issue can be closed. |
http://man7.org/linux/man-pages/man3/pthread_sigmask.3.html
SigFlags
represents thehow
parameter of pthread_sigmask, which takes 3 mutually exclusive options, which should be represented by an enum. TheSigFlags
name is pretty confusing too, as the underlying value is an option, not a flag.The text was updated successfully, but these errors were encountered: