add pkg/strategy/ewoDgtrd/trylock_18.go

This commit is contained in:
c9s 2022-05-17 01:33:24 +08:00
parent 343434685b
commit b4a79479fd
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -0,0 +1,10 @@
//go:build go1.18
// +build go1.18
package ewoDgtrd
import "sync"
func tryLock(lock *sync.RWMutex) bool {
return lock.TryLock()
}