Skip to content
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

WIP: Hurd portability #271

Closed
wants to merge 2 commits into from
Closed

WIP: Hurd portability #271

wants to merge 2 commits into from

Conversation

wferi
Copy link
Contributor

@wferi wferi commented Oct 12, 2017

No description provided.

@chrissie-c
Copy link
Contributor

This failed CI on the monotonic check. Can you fix please?

@wferi
Copy link
Contributor Author

wferi commented Oct 23, 2017

Yes, I know, this only works on Hurd at the moment (thus the WIP tag). Looks like it isn't possible to check for a working monotonic clock at configuration or even compile time, but a runtime check will be needed, because for example on x86 _POSIX_MONOTONIC_CLOCK is defined to 0 (ask sysconf). Also, on Hurd CLOCK_MONOTONIC is actually CLOCK_REALTIME behind the scenes. I'm not sure how much effort this mess warrants at the end of the day.

@wferi wferi changed the title WIP: Hurd portability Hurd portability Dec 19, 2017
@wferi
Copy link
Contributor Author

wferi commented Dec 19, 2017

The monotonic stuff is more involved and mostly independent, let's separate it out.

@wferi wferi changed the title Hurd portability WIP: Hurd portability Dec 20, 2017
@wferi
Copy link
Contributor Author

wferi commented Dec 20, 2017

Wait, something funny is still going on with the permissions...

@wferi
Copy link
Contributor Author

wferi commented Dec 20, 2017

Nevermind, it was a chroot artifact.

@wferi wferi closed this Jan 4, 2018
@wferi wferi deleted the hurd branch January 4, 2018 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants