-
Notifications
You must be signed in to change notification settings - Fork 226
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
race issue in runContainer16's equal() method #305
Comments
The runContainer16 equal() function is single threaded. It does not seem possible that it suffers from a data race. The code provided in this issue modifies the data structure in two distinct threads, which will indeed introduce a data race if one is not careful... The core issue in this instance is that |
Release 0.7.1 made data races less likely by removing the cache. Closing. |
Run the following code with
go test -race
:Race detector will report the following warning to indicate there's potential data race in runContainer16's equal() method:
The text was updated successfully, but these errors were encountered: