Skip to content

Fix a data race found by tsan in Thread.java, interrupted should be accessed behind a lock. This also has the nice side effect of making the wasInterrupted changes in NSObject+JavaObject atomic. #2477

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 1 commit into from
Apr 17, 2025

Conversation

copybara-service[bot]
Copy link

Fix a data race found by tsan in Thread.java, interrupted should be accessed behind a lock. This also has the nice side effect of making the wasInterrupted changes in NSObject+JavaObject atomic.

…ccessed behind a lock. This also has the nice side effect of making the wasInterrupted changes in NSObject+JavaObject atomic.

PiperOrigin-RevId: 748771858
@copybara-service copybara-service bot merged commit 9d59bf3 into master Apr 17, 2025
1 check passed
@copybara-service copybara-service bot deleted the test_748470544 branch April 17, 2025 19:35
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.

1 participant