From 55f80432bb6f95b179b31c45f47734e937bcb941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 6 Dec 2025 11:54:36 +0100 Subject: [PATCH] v0.0.617 --- dataext/multiMutex.go | 6 ++++++ goextVersion.go | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dataext/multiMutex.go b/dataext/multiMutex.go index f49fef7..19d916c 100644 --- a/dataext/multiMutex.go +++ b/dataext/multiMutex.go @@ -97,3 +97,9 @@ func (mm *MultiMutex[TKey]) Get(key TKey) sync.Locker { lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex) return lck } + +// GetCAS returns the underlying CASMutex +func (mm *MultiMutex[TKey]) GetCAS(key TKey) *CASMutex { + lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex) + return lck +} diff --git a/goextVersion.go b/goextVersion.go index 5b9699d..710b2a4 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.616" +const GoextVersion = "0.0.617" -const GoextVersionTimestamp = "2025-12-06T11:53:59+0100" +const GoextVersionTimestamp = "2025-12-06T11:54:36+0100"