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

DragonFly BSD supports sched_getaffinity() and sched_setaffinity() #1537

Merged
merged 1 commit into from Dec 22, 2021

Conversation

rtzoeller
Copy link
Collaborator

@rtzoeller rtzoeller commented Sep 22, 2021

Move CpuSet, sched_getaffinity(), and sched_setaffinity() from the sched_linux_like namespace to sched_affinity. Declare support for DragonFly BSD.

test_sched_affinity() passes locally on DragonFly BSD.

Cargo.toml Outdated Show resolved Hide resolved
src/sched.rs Show resolved Hide resolved
@rtzoeller rtzoeller force-pushed the dragonfly_affinity branch 3 times, most recently from 16d6934 to 63a5c86 Compare September 28, 2021 00:55
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

LGTM, as long as you fix the CHANGELOG.

@asomers asomers added this to the 0.24.0 milestone Oct 16, 2021
@rtzoeller rtzoeller changed the title DragonFlyBSD supports sched_getaffinity() and sched_setaffinity() DragonFly BSD supports sched_getaffinity() and sched_setaffinity() Oct 16, 2021
@rtzoeller rtzoeller force-pushed the dragonfly_affinity branch 2 times, most recently from bfd1dfe to 06d187a Compare December 22, 2021 19:04
@rtzoeller
Copy link
Collaborator Author

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 22, 2021

Merge conflict.

@rtzoeller
Copy link
Collaborator Author

bors retry

@bors bors bot merged commit cc55fd2 into nix-rust:master Dec 22, 2021
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.

None yet

2 participants