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] conn.Track(): CompareAndSwapUint32 #372

Merged
merged 2 commits into from
Jun 26, 2021
Merged

Conversation

Florimond
Copy link
Member

CompareAndSwapUint32 instead of just an atomic load of the value,
and changing the value later, which was not producing the needed
behavior in terms of atomicity.

CompareAndSwapUint32 instead of just an atomic load of the value,
and changing the value later, which was not producing the needed
behavior in terms of atomicity.
@Florimond Florimond force-pushed the fix-track-atomicity branch 4 times, most recently from 30fa748 to 8135974 Compare June 26, 2021 19:38
@kelindar kelindar self-requested a review June 26, 2021 19:42
@kelindar kelindar merged commit 0026981 into master Jun 26, 2021
@kelindar kelindar deleted the fix-track-atomicity branch June 26, 2021 19:44
Florimond added a commit that referenced this pull request Sep 7, 2023
CompareAndSwapUint32 instead of just an atomic load of the value,
and changing the value later, which was not producing the needed
behavior in terms of atomicity.

Co-authored-by: Roman Atachiants <roman.atachiants@gmail.com>
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.

None yet

2 participants