nebula/mutex_nodebug.go
2023-12-18 22:28:24 -05:00

20 lines
278 B
Go

//go:build !mutex_debug
// +build !mutex_debug
package nebula
import (
"sync"
)
type syncRWMutex = sync.RWMutex
type syncMutex = sync.Mutex
func newSyncRWMutex(mutexKey) syncRWMutex {
return sync.RWMutex{}
}
func newSyncMutex(mutexKey) syncMutex {
return sync.Mutex{}
}