-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID constants #3923
Conversation
r? @JohnTitor rustbot has assigned @JohnTitor. Use |
I think your PR deserves the label |
@devnexen It doesn't look like I can do it but, I might be wrong. I was hoping this would get merged soon, since I have another unrelated addition locally. |
That s fine the merger might do it then. The goal is your changes being backported to the libc-0.2 branch so it lands for the next 0.2.* release. |
That would be great. This is also the case with the one I have in the pipeline. Another missing definition on NetBSD. |
sorry I forgot about this ! but you need to type the rustbot command label stable-nominated to add the label like here. |
@rustbot label stable-nominated |
Ahh ... thanks! That worked :) |
This PR adds support for: CLOCK_PROCESS_CPUTIME_ID CLOCK_THREAD_CPUTIME_ID sysctlnametomib It replaces the following closed PRs: rust-lang#3926 rust-lang#3923 Sorry for the back and forward actions. (backport <rust-lang#3927>) (cherry picked from commit 8ff67c1)
cpu-time
, /~https://github.com/tailhook/cpu-time fails to compile because it misses these constants.With this PR included
cpu-time
builds successfully,Please consider adding these.