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.

Allow for std::atomic<T> --> T (or compatible) automatic conversion and
vice versa.
@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

    21 files      21 suites   3d 17h 2m 27s ⏱️
 3 667 tests  3 665 ✅ 0 💤 2 ❌
75 147 runs  75 141 ✅ 0 💤 6 ❌

For more details on these failures, see this check.

Results for commit ac97cad.

♻️ This comment has been updated with latest results.

{
auto model = ROOT::RNTupleModel::Create();
auto a = model->MakeField<std::atomic<std::int32_t>>("a");
auto i = model->MakeField<std::int32_t>("i");
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should also test with a class type (and one where is_lock_free is false)

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.

2 participants