Skip to content

Inverse Threading Fix #8418

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

Merged
merged 15 commits into from
Apr 11, 2025
Merged

Conversation

ericspod
Copy link
Member

@ericspod ericspod commented Apr 8, 2025

Fixes #8056.

Description

This fixes a race condition where the tracing member may be toggled in multiple threads. This is turned into a thread-local value that removes this issue.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

ericspod added 4 commits April 5, 2025 23:46
I, Eric Kerfoot <[email protected]>, hereby add my Signed-off-by to this commit: 11be4cb
I, Eric Kerfoot <[email protected]>, hereby add my Signed-off-by to this commit: 6b9e4d6

Signed-off-by: Eric Kerfoot <[email protected]>
@ericspod ericspod requested review from Nic-Ma and KumoLiu April 8, 2025 17:45
@ericspod ericspod requested a review from yiheng-wang-nv April 8, 2025 17:46
@ericspod
Copy link
Member Author

Hi @KumoLiu this is ready now to put through blossom, thanks.

@KumoLiu
Copy link
Contributor

KumoLiu commented Apr 10, 2025

/build

Copy link
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

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

It looks good to me, thanks for the fix.

@KumoLiu KumoLiu merged commit f27517b into Project-MONAI:dev Apr 11, 2025
26 checks passed
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.

racing condition when InvertD is used along with ThreadDataLoader
2 participants