I cannot tell if there is any memory barrier in the code of sync.RWMutex.Lock(), I don't understand it completely. I just think there is not. https://golang.org/src/sync/mutex.go?s=1143:1165#L34
-- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.