1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00
anytype-heart/util/mutex/locker.go
Roman Khafizianov 961673ce2a
sb isLocked: use TryLock
temporarly deprecate deadlockmutex detector
2023-02-06 21:38:36 +01:00

11 lines
158 B
Go

//go:build mutexdeadlockdetector
package mutex
import (
"github.com/sasha-s/go-deadlock"
)
func NewLocker() *deadlock.Mutex {
return &deadlock.Mutex{}
}