Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LockUnlock ¶
LockUnlock lock on mutex and return unlock. e.g. defer LockUnlock(mutex)
func RWLockUnlock ¶
RWLockUnlock lock on mutex and return unlock. e.g. defer LockUnlock(mutex)
func RWRLockRUnlock ¶
RWRLockRUnlock lock on mutex and return unlock. e.g. defer LockUnlock(mutex)
Types ¶
type Lock ¶
func (*Lock) LockDeferUnlock ¶
func (l *Lock) LockDeferUnlock() func()
Click to show internal directories.
Click to hide internal directories.