moveMx is not an RWMutex, just a regular mutex

This commit is contained in:
vyzo 2021-07-26 15:09:31 +03:00
parent aa0bd51b2c
commit 938330e6c3

View File

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