Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathMutex ¶
type PathMutex struct {
// contains filtered or unexported fields
}
PathMutex provides per-path locking to allow concurrent operations on different paths
type PathRWMutex ¶ added in v3.3.285
type PathRWMutex struct {
// contains filtered or unexported fields
}
PathRWMutex provides shared read locks and exclusive mutation locks per path.
func NewPathRWMutex ¶ added in v3.3.285
func NewPathRWMutex() *PathRWMutex
func (*PathRWMutex) Lock ¶ added in v3.3.285
func (pm *PathRWMutex) Lock(path string)
func (*PathRWMutex) RLock ¶ added in v3.3.285
func (pm *PathRWMutex) RLock(path string)
func (*PathRWMutex) RUnlock ¶ added in v3.3.285
func (pm *PathRWMutex) RUnlock(path string)
func (*PathRWMutex) Unlock ¶ added in v3.3.285
func (pm *PathRWMutex) Unlock(path string)
Click to show internal directories.
Click to hide internal directories.