moveMx is not an RWMutex, just a regular mutex
This commit is contained in:
parent
aa0bd51b2c
commit
938330e6c3
@ -96,7 +96,7 @@ type Blockstore struct {
|
|||||||
state int
|
state int
|
||||||
viewers sync.WaitGroup
|
viewers sync.WaitGroup
|
||||||
|
|
||||||
moveMx sync.RWMutex
|
moveMx sync.Mutex
|
||||||
moveCond sync.Cond
|
moveCond sync.Cond
|
||||||
moveState int
|
moveState int
|
||||||
rlock int
|
rlock int
|
||||||
|
Loading…
Reference in New Issue
Block a user