Go 1 memory model guarantee that the relative order of the two statements 
will not get exchanged,
if there is one any of the following operation between the two statements 
in code:
* a channel read
* a channel write
* a channel close
* a sync.Mutex.Lock()
* a sync.Mutex.Unlock()

-- 
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.

Reply via email to