Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor(bindings/java): replace num_cpus with std::thread::available_parallelism #5080

Merged

Conversation

miroim
Copy link
Contributor

@miroim miroim commented Aug 31, 2024

Which issue does this PR close?

Closes #5078.

What changes are included in this PR?

replace num_cpus with std::thread::available_parallelism

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thanks!

@Xuanwo Xuanwo merged commit d71bd8e into apache:main Aug 31, 2024
59 checks passed
@miroim miroim deleted the replace-num_cpus-with-available_parallelism branch August 31, 2024 16:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new feature(java binding): Use std::thread::available_parallelism to replace num_cpus
2 participants