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

cpu: use windows.GetActiveProcessorCount #1394

Merged
merged 1 commit into from Dec 10, 2022

Commits on Dec 7, 2022

  1. cpu: use windows.GetActiveProcessorCount

    Use GetActiveProcessorCount and the ALL_PROCESSOR_GROUPS const provided
    in golang.org/x/sys/windows. The function is available on Windows 7 and
    later. Go requires Windows 7, see https://go.dev/doc/go1.11#ports
    tklauser committed Dec 7, 2022
    Copy the full SHA
    f2bf9a4 View commit details
    Browse the repository at this point in the history