Documentation ¶
Index ¶
- func LockDo(locker sync.Locker, f func())
- func LockGet[V any](locker sync.Locker, f func() V) V
- func LockGetDouble[V1, V2 any](locker sync.Locker, f func() (V1, V2)) (V1, V2)
- func LockGetTriple[V1, V2, V3 any](locker sync.Locker, f func() (V1, V2, V3)) (V1, V2, V3)
- func RLockDo(locker RLocker, f func())
- func RLockGet[V any](locker RLocker, f func() V) V
- func RLockGetDouble[V1, V2 any](locker RLocker, f func() (V1, V2)) (V1, V2)
- func RLockGetTriple[V1, V2, V3 any](locker RLocker, f func() (V1, V2, V3)) (V1, V2, V3)
- type LockWrapper
- type RLocker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LockGetDouble ¶
func LockGetTriple ¶
func RLockGetDouble ¶
func RLockGetTriple ¶
Types ¶
type LockWrapper ¶
Click to show internal directories.
Click to hide internal directories.