Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrObtainGoroutineId = errors.New("nazasync: obtain current goroutine id failed")
Functions ¶
func CurGoroutineId ¶ added in v0.19.0
Types ¶
type MutexManager ¶ added in v0.19.1
type MutexManager struct {
// contains filtered or unexported fields
}
注意,key是由mutex唯一ID加上协程ID组合而成
func NewMutexManager ¶ added in v0.19.1
func NewMutexManager() *MutexManager
Click to show internal directories.
Click to hide internal directories.