mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-11 11:53:58 +01:00
21 lines
260 B
Go
21 lines
260 B
Go
//go:build !mutex_debug
|
|
// +build !mutex_debug
|
|
|
|
package nebula
|
|
|
|
import (
|
|
"sync"
|
|
)
|
|
|
|
type syncRWMutex = sync.RWMutex
|
|
|
|
func newSyncRWMutex(mutexKey) syncRWMutex {
|
|
return sync.RWMutex{}
|
|
}
|
|
|
|
type mutexKey struct {
|
|
Type string
|
|
SubType string
|
|
ID uint32
|
|
}
|