-
Notifications
You must be signed in to change notification settings - Fork 155
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
Provide an API to expose the read value without setting GOMAXPROCS #29
Comments
Once an API is exposed, it has to remain backwards compatible, so we need to make sure that:
Given the above, it takes a fair bit of due diligence before we can approve exposing any further APIs. |
Moving CGroup parsing to a separate repo/module sounds like the best path forward IMO. |
I think it could be useful to provide an api to get the cpu num instead of setting it directly. It would be better to let the user set it manually. |
The logic to read the core count from cgroups is very valuable. In some settings it might be desirable to read the value but not set GOMAXPROCS with it. This issue requests that
maxprocs
subpackage provide a method that returns the read value without setting the runtime value.The text was updated successfully, but these errors were encountered: