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

Add LoadAndDelete for sync.Map #3118

Merged
merged 1 commit into from
Sep 2, 2022
Merged

Conversation

tschaub
Copy link
Contributor

@tschaub tschaub commented Sep 1, 2022

This adds LoadAndDelete support for sync.Map.

See also golang/go@2e8dbae.

Copy link
Member

@dgryski dgryski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deadprogram
Copy link
Member

Thank you very much @tschaub for the code, and thanks for reviewing @dgryski merging!

@deadprogram deadprogram merged commit 623dd6a into tinygo-org:dev Sep 2, 2022
@tschaub tschaub deleted the load-and-delete branch September 2, 2022 13:12
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