Skip to content

Add capability to request subset of libMesh::n_threads()#4443

Open
lindsayad wants to merge 6 commits intolibMesh:develfrom
lindsayad:threads-control-4185
Open

Add capability to request subset of libMesh::n_threads()#4443
lindsayad wants to merge 6 commits intolibMesh:develfrom
lindsayad:threads-control-4185

Conversation

@lindsayad
Copy link
Copy Markdown
Member

Closes #4185

Closes libMesh#4185

Co-authored-by: Codex <codex@openai.com>
Copy link
Copy Markdown
Member

@roystgnr roystgnr left a comment

Choose a reason for hiding this comment

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

Did you manually test the TBB build case? I'm not sure we have any of those in CI.

@moosebuild
Copy link
Copy Markdown

moosebuild commented Apr 24, 2026

Job Coverage, step Generate coverage on bc359fd wanted to post the following:

Coverage

9334d7 #4443 bc359f
Total Total +/- New
Rate 65.47% 65.47% -0.00% 100.00%
Hits 78229 78229 - 32
Misses 41253 41255 +2 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@lindsayad
Copy link
Copy Markdown
Member Author

Did you manually test the TBB build case? I'm not sure we have any of those in CI.

I haven't but I will try

This allows us to do forward declarations of our spin_mutex safely
because for tbb it's a typedef and for our other thread backends
it's a class
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.

Thread initialization preferences

3 participants