See "halt_on_error"
https://golang.org/doc/articles/race_detector.html#Options

Le mardi 8 septembre 2020 à 14:47:11 UTC+2, [email protected] a écrit :

> Code with data races is invalid code, we shouldn't let it run once we find 
> a data race. Actually, since Go 1.5, when runtime finds concurrent read and 
> write to a map, it does throw a fatal error rather than just warning. Maybe 
> it's not consistent that race detector only print out warning message.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/055c7885-db90-4729-84ac-8c6e6a2aabc1n%40googlegroups.com.

Reply via email to