Skip to content
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

fix up stats macros to use atomic get/set #781

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

mtfriesen
Copy link
Contributor

Description

Describe the purpose of and changes within this Pull Request.

Our stats macros were using plain read/write operations, which could result in torn values. This was somewhat acceptable, but we might as well ensure the operations are atomic.

Testing

Do any existing tests cover this change? Are new tests needed?

CI.

Documentation

Is there any documentation impact for this change?

No.

Installation

Is there any installer impact for this change?

No.

@mtfriesen mtfriesen requested a review from a team as a code owner January 7, 2025 21:48
@mtfriesen mtfriesen enabled auto-merge (squash) January 7, 2025 21:48
@mtfriesen mtfriesen merged commit 9ac22ff into main Jan 7, 2025
57 checks passed
@mtfriesen mtfriesen deleted the mfriesen/atomic_stats branch January 7, 2025 22:32
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.

2 participants