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

Add some macros from sched.h for android and linux. #359

Merged
merged 1 commit into from
Aug 18, 2016
Merged

Add some macros from sched.h for android and linux. #359

merged 1 commit into from
Aug 18, 2016

Conversation

fiveop
Copy link
Contributor

@fiveop fiveop commented Aug 18, 2016

I duplicated the code for android, because the member of cpu_set_t
is private, thus cannot be accessed in the parent mod. I would have
had to configure the name anyway based on the platform, because it
differs between the platforms.

@rust-highfive
Copy link

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

I duplicated the code for android, because the member of cpu_set_t
is private, thus cannot be accessed in the parent mod. I would have
had to configure the name anyway based on the platform, because it
differs between the platforms.
@alexcrichton
Copy link
Member

Thanks!

@alexcrichton alexcrichton merged commit 8312c49 into rust-lang:master Aug 18, 2016
@posborne
Copy link
Contributor

For the record, relates to nix-rust/nix#402

Susurrus pushed a commit to Susurrus/libc that referenced this pull request Mar 26, 2017
Add some missing SFlags

Also reordered just because I wasn't sure where to insert the new ones.
danielverkamp pushed a commit to danielverkamp/libc that referenced this pull request Apr 28, 2020
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.

4 participants