Skip to content

Conversation

jblomer
Copy link
Contributor

@jblomer jblomer commented Sep 22, 2025

Allow for std::atomic --> T (or compatible) automatic conversion and vice versa.

@jblomer jblomer self-assigned this Sep 22, 2025
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from 9ce4dd5 to ac97cad Compare September 22, 2025 14:48
Copy link

github-actions bot commented Sep 22, 2025

Test Results

    22 files      22 suites   4d 4h 37m 8s ⏱️
 3 691 tests  3 686 ✅ 0 💤 5 ❌
79 253 runs  79 248 ✅ 0 💤 5 ❌

For more details on these failures, see this check.

Results for commit a2bd045.

♻️ This comment has been updated with latest results.

Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

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

In principle, the changes look neat and small. I'm wondering about the error case: When reconciling an RAtomicField with something on-disk that is not std::atomic, we unconditionally delegate to the item field. Is that maybe confusing for the error message? (I don't have an immediate idea how to do it better)

@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from ef0feec to 1aec090 Compare October 6, 2025 14:08
@jblomer jblomer requested a review from bellenot as a code owner October 6, 2025 14:08
@jblomer jblomer requested review from hahnjo and silverweed October 6, 2025 14:08
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch 4 times, most recently from e44c16a to f75eb4b Compare October 9, 2025 14:13
@jblomer jblomer requested review from hahnjo and pcanal October 9, 2025 15:23
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from 12eb06f to 6363615 Compare October 9, 2025 20:55
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM

Allow for std::atomic<T> --> T (or compatible) automatic conversion and
vice versa.
@jblomer jblomer force-pushed the ntuple-evolution-atomic branch from 6363615 to a2bd045 Compare October 10, 2025 08:55
@jblomer jblomer merged commit 477137c into root-project:master Oct 10, 2025
24 of 27 checks passed
@jblomer jblomer deleted the ntuple-evolution-atomic branch October 10, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants