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

Use SetProcessAffinityMask instead of SetProcessDefaultCpuSets #684

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

sebastienros
Copy link
Member

JobObjectWrapper is not necessary anymore, tested locally. We might still benefit from using a SUSPENDED thread once the API is available in the runtime.
Environment.ProcessorCount is also returning the correct value, and overriding its value is not necesary anymore.

@sebastienros sebastienros requested a review from EgorBo January 12, 2024 02:09
@sebastienros sebastienros enabled auto-merge (squash) January 12, 2024 02:09
@sebastienros sebastienros requested a review from joperezr January 12, 2024 02:11
Copy link
Member

@EgorBo EgorBo left a comment

Choose a reason for hiding this comment

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

Thanks! Looking forward for the updated crank 🙂

@sebastienros sebastienros merged commit 73dda7b into main Jan 12, 2024
4 checks passed
@sebastienros sebastienros deleted the sebros/SetProcessAffinityMask branch January 12, 2024 10:09
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