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: use atomic package for ids #634

Merged
merged 1 commit into from
Oct 7, 2024
Merged

fix: use atomic package for ids #634

merged 1 commit into from
Oct 7, 2024

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Oct 7, 2024

#622 won't work with go 1.18, this should.

based on PR by @weezel

closes #622

@bashbunni
Copy link
Member

Niiiiice thank you!!

closes #622

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Ville Valkonen <weezel@users.noreply.github.com>
@caarlos0 caarlos0 merged commit 9a262e9 into master Oct 7, 2024
18 checks passed
@caarlos0 caarlos0 deleted the atomic-ids branch October 7, 2024 18:26
@meowgorithm
Copy link
Member

Just a note for some additional context when we write the release notes: this PR uses atomic operations when assigning IDs to filepicker, spinner, timer, stopwatch and spinner to avoid race conditions and deadlocks.

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.

3 participants