Skip to content

Demonstration of pinned-thread resource#730

Draft
knoepfel wants to merge 4 commits into
Framework-R-D:mainfrom
knoepfel:pinned-thread-resource
Draft

Demonstration of pinned-thread resource#730
knoepfel wants to merge 4 commits into
Framework-R-D:mainfrom
knoepfel:pinned-thread-resource

Conversation

@knoepfel

@knoepfel knoepfel commented Jul 17, 2026

Copy link
Copy Markdown
Member

This PR is a WIP. It is intended to demonstrate that the (eventual) resources system can handle resources like Geant4 that require pinning work on specific threads.

As the number of threads is generally configurable at run-time, it will be easiest to support pinned-thread resources is we have a feature similar to that requested in uxlfoundation/oneTBB#2131.


N.B.: An error was occasionally encountered in the resource_limited_threads test where a data race would appear, manifesting as either a dead lock or a disallowed access of the std::optional argument in the managed_thread class template. This seems to have been resolved with uxlfoundation/oneTBB#2103 (i.e., the resource_limited_threads test now reliably executes successfully).

@knoepfel
knoepfel marked this pull request as draft July 17, 2026 13:40
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 8a366f8a-baf1-4933-acbf-7ac131cde7bc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@           Coverage Diff           @@
##             main     #730   +/-   ##
=======================================
  Coverage   83.71%   83.71%           
=======================================
  Files         172      172           
  Lines        6904     6904           
  Branches      845      845           
=======================================
  Hits         5780     5780           
  Misses        847      847           
  Partials      277      277           
Flag Coverage Δ
scripts 78.93% <ø> (ø)
unittests 85.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d37da2...1382eb1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant