mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-14 18:18:35 +02:00
align 64bit atomic operation
fix https://github.com/seaweedfs/seaweedfs/issues/4878
This commit is contained in:
1 parent
abe599ee4a
commit
40888b5612
1 file changed
+1
-1
@@ -10,9 +10,9 @@ import (
|
||||
// LockTable is a table of locks that can be acquired.
|
||||
// Locks are acquired in order of request.
|
||||
type LockTable[T comparable] struct {
|
||||
lockIdSeq int64
|
||||
mu sync.Mutex
|
||||
locks map[T]*LockEntry
|
||||
lockIdSeq int64
|
||||
}
|
||||
|
||||
type LockEntry struct {
|
||||
|
||||
Reference in new issue
Block a user