Documentation ¶
Overview ¶
* 并发共享函数调用返回的库
Index ¶
- func StartDeadCheck(lockNotify func(deadLockInfo []byte), ...)
- func StopDeadCheck()
- type LockInfo
- type LockStyle
- type MutexEx
- type RWMutexEx
- type ShareCalls
- func (calls *ShareCalls) ShareCall(shareID int, fn func(...interface{}) (interface{}, error), ...) (result interface{}, fromShareCache bool, err error)
- func (calls *ShareCalls) ShareCallByKey(sharekey string, fn func(...interface{}) (interface{}, error), ...) (result interface{}, fromShareCache bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartDeadCheck ¶ added in v0.4.3
func StopDeadCheck ¶ added in v0.4.3
func StopDeadCheck()
Types ¶
type LockInfo ¶
type MutexEx ¶
func (*MutexEx) LockWithMsg ¶ added in v0.4.3
type RWMutexEx ¶
func (*RWMutexEx) LockWithMsg ¶ added in v0.4.3
func (*RWMutexEx) RLockWithMsg ¶ added in v0.4.3
type ShareCalls ¶ added in v0.4.3
type ShareCalls struct { // contains filtered or unexported fields }
func (*ShareCalls) ShareCall ¶ added in v0.4.3
func (calls *ShareCalls) ShareCall(shareID int, fn func(...interface{}) (interface{}, error), params ...interface{}) (result interface{}, fromShareCache bool, err error)
func (*ShareCalls) ShareCallByKey ¶ added in v0.4.3
func (calls *ShareCalls) ShareCallByKey(sharekey string, fn func(...interface{}) (interface{}, error), params ...interface{}) (result interface{}, fromShareCache bool, err error)
Click to show internal directories.
Click to hide internal directories.