Skip to content

Add clock_nanosleep for linux and supporting libcs #19195

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

Closed
wants to merge 1 commit into from

Conversation

blblack
Copy link
Contributor

@blblack blblack commented Mar 5, 2024

No description provided.

@@ -1527,6 +1527,18 @@ pub usingnamespace switch (native_os) {
},
};

// clock_nanosleep() and TIMER_ABSTIME exist in the libc of only some Unix-like
// systems, but they are consistent everywhere they exist.
pub usingnamespace switch (native_os) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unlikely to get merged using usingnamespace, see #19214 for how to avoid using it.

@blblack
Copy link
Contributor Author

blblack commented Mar 19, 2024

Note also this should wait to be rebased+amended around whatever comes of #19354 as well. (In general I'm waiting to sort out all the common meta-issues in the slightly-simpler #19203 mlockall one before I go redo this PR anyways).

@blblack blblack marked this pull request as draft March 20, 2024 11:23
@andrewrk
Copy link
Member

andrewrk commented May 9, 2024

Still a draft, no update in 30+ days

@andrewrk andrewrk closed this May 9, 2024
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.

3 participants