Skip to content

Conversation

@tamird
Copy link
Contributor

@tamird tamird commented Jan 7, 2026

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.

@tamird
Copy link
Contributor Author

tamird commented Jan 7, 2026

@ayushr2 PTAL

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.
@tamird tamird force-pushed the checklocks-mixed-atomic branch from f46e6b9 to 5c3aa23 Compare January 7, 2026 17:29
copybara-service bot pushed a commit that referenced this pull request Jan 7, 2026
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
PiperOrigin-RevId: 853306091
copybara-service bot pushed a commit that referenced this pull request Jan 8, 2026
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
PiperOrigin-RevId: 853306091
copybara-service bot pushed a commit that referenced this pull request Jan 8, 2026
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
PiperOrigin-RevId: 853306091
@copybara-service copybara-service bot merged commit 00e9334 into google:master Jan 8, 2026
3 checks passed
@tamird tamird deleted the checklocks-mixed-atomic branch January 8, 2026 17:58
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.

Support for "only store is exclusive" atomic variables

2 participants