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

win: fix uv_available_parallelism on win32 (#4525) #40

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

giordano
Copy link

@giordano giordano commented Sep 2, 2024

Follow up to #38, backports libuv#4525

Fixes commit 58dfb6c from a few days ago. DWORD_PTR is 32 bits on
x86 Windows. Use the right bit count when checking the population count.

Interestingly enough, it manifested itself as double counting online
processors, presumably because the compiler emits a ROR instead of SHR.

Fixes: libuv#4524
(cherry picked from commit 5ff1fc7)
@giordano giordano merged commit af4172e into julia-uv2-1.48.0 Sep 2, 2024
3 of 16 checks passed
@giordano giordano deleted the mg/win-uv-available-parallelism branch September 2, 2024 13:06
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