mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 06:33:16 +00:00
16 lines
218 B
Go
16 lines
218 B
Go
// +build !deadlock
|
|
|
|
package sync
|
|
|
|
import "sync"
|
|
|
|
// A Mutex is a mutual exclusion lock.
|
|
type Mutex struct {
|
|
sync.Mutex
|
|
}
|
|
|
|
// An RWMutex is a reader/writer mutual exclusion lock.
|
|
type RWMutex struct {
|
|
sync.RWMutex
|
|
}
|