-
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
clock_gettime for macOS 10.12+ #776
Comments
Seems good to me to add! (PRs are more than welcome!) |
@alexcrichton: but would it be okay to add it to the general |
Yeah that's fine, this isn't the first symbol of its kind :) |
bors
added a commit
that referenced
this issue
Sep 21, 2017
Add clock_gettime related functions to macOS Fixes #776. The constants were retrieved on macOS 10.12.6. Tried adding `clock_nanosleep` too, but it doesn't seem like macOS' libc includes that yet.
bors
added a commit
that referenced
this issue
Sep 21, 2017
Add clock_gettime related functions to macOS Fixes #776. The constants were retrieved on macOS 10.12.6. Tried adding `clock_nanosleep` too, but it doesn't seem like macOS' libc includes that yet.
bors
added a commit
that referenced
this issue
Sep 21, 2017
Add clock_gettime related functions to macOS Fixes #776. The constants were retrieved on macOS 10.12.6. Tried adding `clock_nanosleep` too, but it doesn't seem like macOS' libc includes that yet.
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
macOS 10.12 and Xcode 8 added support for
clock_gettime
and related functions. Would it be possible to add these to the macOS libc bindings?I'd send a PR, but not sure how to do it conditionally since it doesn't seem like the OS version number is included in
cfg
.Relevant: zeromq/libzmq#2175
The text was updated successfully, but these errors were encountered: