Skip to content

Conversation

@copybara-service
Copy link

checklocks: enforce mixed atomic rules for wrappers

Atomic wrapper methods now respect mixed atomic+lock rules so lock-free
access is read-only and writes require the lock. The README documents
the wrapper behavior and tests cover the new cases.

Closes #11481.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12451 from tamird:checklocks-mixed-atomic 5c3aa23

Atomic wrapper methods now respect mixed atomic+lock rules so lock-free
access is read-only and writes require the lock. The README documents
the wrapper behavior and tests cover the new cases.
@copybara-service copybara-service bot added the exported Issue was exported automatically label Jan 7, 2026
@tamird
Copy link
Contributor

tamird commented Jan 7, 2026

@ayushr2 should this have merged?

@ayushr2
Copy link
Collaborator

ayushr2 commented Jan 7, 2026

Pending internal review. (needs a review from someone other than me since I approved the PR)

@copybara-service copybara-service bot force-pushed the test/cl853306091 branch 2 times, most recently from ed401c5 to 90f617f Compare January 8, 2026 17:25
@copybara-service copybara-service bot merged commit 00e9334 into master Jan 8, 2026
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl853306091 branch January 8, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for "only store is exclusive" atomic variables

3 participants