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

remove num_cpus dependency #488

Merged
merged 1 commit into from
Aug 23, 2023
Merged

remove num_cpus dependency #488

merged 1 commit into from
Aug 23, 2023

Conversation

robjtede
Copy link
Member

@robjtede robjtede commented Aug 23, 2023

PR Type

Chore

PR Checklist

Check your PR fulfills the following:

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt

Overview

std::thread::available_parallelism is stable and well within our MSRV now.

If calls to it error for some reason, 2 is chosen as a sensible greater-than-one number of threads to spawn.

@robjtede robjtede merged commit 6ce8307 into master Aug 23, 2023
13 checks passed
@robjtede robjtede deleted the rm-num-cpus branch August 23, 2023 23:56
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

1 participant