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

nthreads check should be outside of static if #138

Merged
merged 1 commit into from
Feb 26, 2020
Merged

Conversation

stevengj
Copy link
Member

This line looks suspicious to me — seems like this needs to be a runtime check, not in @static if.

@ararslan
Copy link
Member

Can nthreads be configured at runtime? I thought it was only set at startup.

@stevengj
Copy link
Member Author

It's only at startup, but doesn't @static mean that this check executes at lowering time (which happens when the module is precompiled), not at module-loading time?

@ararslan
Copy link
Member

Ah yeah, you're right.

@jtravs
Copy link

jtravs commented Apr 27, 2020

Any chance we could get a release tagged with this fix in it? I was just bitten by this and wasted quite a lot of time.

@ararslan ararslan mentioned this pull request Apr 27, 2020
@ararslan
Copy link
Member

I believe I was as well and didn't even realize it. #148

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.

3 participants