Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kcond ¶
type Kcond struct {
// contains filtered or unexported fields
}
func DefaultKcond ¶
func DefaultKcond() *Kcond
type Kmutex ¶
type Kmutex struct {
// contains filtered or unexported fields
}
func DefaultKmutex ¶
func DefaultKmutex() *Kmutex
func NewKmutex ¶
func NewKmutex(conf ...KmutexConf) *Kmutex
type KmutexConf ¶ added in v0.2.0
type KmutexConf func(*Kmutex)
func WithKmutexLocker ¶ added in v0.2.0
func WithKmutexLocker(new func() Mutex) KmutexConf
type Krwmutex ¶
type Krwmutex struct {
// contains filtered or unexported fields
}
func DefaultKrwmutex ¶
func DefaultKrwmutex() *Krwmutex
func NewKrwmutex ¶
func NewKrwmutex(conf ...KrwmutexConf) *Krwmutex
type KrwmutexConf ¶ added in v0.2.0
type KrwmutexConf func(*Krwmutex)
func WithKrwmutexLocker ¶ added in v0.2.0
func WithKrwmutexLocker(new func() RWMutex) KrwmutexConf
Click to show internal directories.
Click to hide internal directories.