github.com/supragya/TendermintConnector@v0.0.0-20210619045051-113e32b84fb1/chains/tm34/libs/sync/sync.go (about)

     1  // +build !deadlock
     2  
     3  package sync
     4  
     5  import "sync"
     6  
     7  // A Mutex is a mutual exclusion lock.
     8  type Mutex struct {
     9  	sync.Mutex
    10  }
    11  
    12  // An RWMutex is a reader/writer mutual exclusion lock.
    13  type RWMutex struct {
    14  	sync.RWMutex
    15  }