peer: use atomics instead of mutexes (#670)
peer: use atomics instead of mutexes (#670)


BitGo/prova,jongillham/btcd,decred/dcrd,BitGo/prova,ppcsuite/ppcd,cqswxj2013/btcd,dajohi/btcd,stevenroose/btcd,jongillham/btcd,adiabat/btcd,jrick/btcd,jrick/dcrd,ppcsuite/ppcd,Roasbeef/btcd,btcsuite/btcd,btcsuite/btcd,wallclockbuilder/btcd,adiabat/btcd,ltcsuite/ltcd,davecgh/btcd,dajohi/btcd,wallclockbuilder/btcd,aakselrod/btcd,Roasbeef/btcd,jrick/dcrd,jrick/btcd,ltcsuite/ltcd,jcmincke/dcrd,dajohi/btcd,tb00/btcd,aakselrod/btcd,jcmincke/dcrd,stevenroose/btcd,Stash-Crypto/btcd,tb00/btcd,decred/dcrd,cqswxj2013/btcd,Stash-Crypto/btcd,jrick/btcd,jcmincke/dcrd,davecgh/btcd