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

Fix #149 - Utilize Etc.nprocessors in Ruby 2.2+ #207

Merged
merged 3 commits into from Jul 24, 2017

Conversation

Projects
None yet
2 participants
@westonganger
Copy link
Contributor

commented Jul 24, 2017

Fixes #149

westonganger added some commits Jul 24, 2017

$stderr.puts "Unknown platform: " + RbConfig::CONFIG["target_os"]
$stderr.puts "Assuming 1 processor."
1
os_name = RbConfig::CONFIG["target_os"]

This comment has been minimized.

Copy link
@grosser

grosser Jul 24, 2017

Owner

might be better as a new guess_processor_count method ...

@grosser

This comment has been minimized.

Copy link
Owner

commented Jul 24, 2017

looks good!

@grosser grosser merged commit 993bd07 into grosser:master Jul 24, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@grosser

This comment has been minimized.

Copy link
Owner

commented Jul 25, 2017

1.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.