xsync

package
v0.0.0-...-7c1eb0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MutexMap map[int64]*MutexEx

Functions

func MutexMapLock

func MutexMapLock()

func MutexMapUnlock

func MutexMapUnlock()

Types

type MutexEx

type MutexEx struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewMutex

func NewMutex(name string) *MutexEx

func (*MutexEx) Close

func (me *MutexEx) Close()

func (*MutexEx) GetCallInfo

func (me *MutexEx) GetCallInfo() (string, int)

func (*MutexEx) GetInfo

func (me *MutexEx) GetInfo() string

func (*MutexEx) GetStatus

func (me *MutexEx) GetStatus() int8

func (*MutexEx) IsLock

func (me *MutexEx) IsLock() bool

func (*MutexEx) Lock

func (me *MutexEx) Lock()

func (*MutexEx) LockInfo

func (me *MutexEx) LockInfo(str string)

func (*MutexEx) RecordFile

func (me *MutexEx) RecordFile(v bool, deepth int)

func (*MutexEx) Unlock

func (me *MutexEx) Unlock()

func (*MutexEx) UnlockInfo

func (me *MutexEx) UnlockInfo(str string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL