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

Properly initialize spinlock in ARAL. #17844

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

vkalintiris
Copy link
Collaborator

Summary

SSIA.

Test Plan
  • CI jobs
Additional Information

Not sure why this does not cause problems on non-Windows platforms. In theory, the spinlock would get the wrong initial value 50% of the time because the lock is just a boolean. A major difference between Windows vs. non-Windows platforms is that the minimum sleep duration on Windows is at least 1ms which is a pretty long time in comparison to the other platforms.

@vkalintiris vkalintiris requested a review from stelfrag June 7, 2024 13:42
@vkalintiris vkalintiris self-assigned this Jun 7, 2024
@vkalintiris vkalintiris requested a review from thiagoftsm as a code owner June 7, 2024 13:42
@vkalintiris vkalintiris enabled auto-merge (squash) June 7, 2024 13:42
@vkalintiris vkalintiris merged commit 48305b1 into netdata:master Jun 7, 2024
145 checks passed
@vkalintiris vkalintiris deleted the init-spinlock branch July 5, 2024 09: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