v0.0.616
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Has been cancelled
This commit is contained in:
@@ -91,3 +91,9 @@ func (mm *MultiMutex[TKey]) RLocker(key TKey) sync.Locker {
|
|||||||
lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex)
|
lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex)
|
||||||
return lck.RLocker()
|
return lck.RLocker()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get returns a Locker interface
|
||||||
|
func (mm *MultiMutex[TKey]) Get(key TKey) sync.Locker {
|
||||||
|
lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex)
|
||||||
|
return lck
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.615"
|
const GoextVersion = "0.0.616"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2025-12-06T11:50:54+0100"
|
const GoextVersionTimestamp = "2025-12-06T11:53:59+0100"
|
||||||
|
|||||||
Reference in New Issue
Block a user