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

Add "nproc" support to getrlimit/setrlimit (for supported OSes) #26

Merged
merged 1 commit into from Nov 1, 2014

Conversation

GUI
Copy link
Contributor

@GUI GUI commented Nov 1, 2014

This picks up on @fbrusch's pull request from #22. It adds the nproc support, but is #ifdefed like you suggested, and I updated the documentation in the README.

I also added tests that I believe should work across platforms to ensure that it's supported on the expected platforms but still raises errors on unsupported platforms. I don't have access to a Solaris or Windows box to totally verify these tests across platforms, but from what I gather it's only supported on Linux and BSDs (and they pass locally on a Linux and OS X box), so I'm hoping the test logic for platform support is correct.

melor added a commit that referenced this pull request Nov 1, 2014
@melor melor merged commit f03cf79 into ohmu:master Nov 1, 2014
@GUI
Copy link
Contributor Author

GUI commented Nov 1, 2014

Thanks for the merge and quick release!

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

2 participants