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

generate: concurrent map write #44

Closed
mvdan opened this issue Nov 5, 2020 · 0 comments
Closed

generate: concurrent map write #44

mvdan opened this issue Nov 5, 2020 · 0 comments

Comments

@mvdan
Copy link
Owner

mvdan commented Nov 5, 2020

About a quarter of the times I run the program, I get a fatal error: concurrent map iteration and map write.

I presume the race has been there for a long time, but the older versions of Go I used in the past didn't notice that.

Not a hugely pressing matter, since this is just a code generator I use, and the output still seems to be stable. But I should still fix this at some point.

@mvdan mvdan closed this as completed in fef3753 Nov 16, 2020
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

No branches or pull requests

1 participant