You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run it as:
$ GORACE=atexit_sleep_ms=0 GOMAXPROCS=4 while ./race; do true; done
and it detected the race in several seconds.
I am not sure it's possible to do something here to improve the situation. It's the
nature of happens-before-based race detectors. And It's the cost for that you don't need
to add any manual annotations to the code and the race detector understands all
synchronization patterns (not just this data is protected by this mutex).
The text was updated successfully, but these errors were encountered: