Documentation
ΒΆ
Index ΒΆ
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
This section is empty.
Types ΒΆ
type SMutex128 ΒΆ
type SMutex128 struct {
// contains filtered or unexported fields
}
SMutex128 represents a sharded RWMutex that supports finer-granularity concurrency contron hence reducing potential contention.
func (*SMutex128) Lock ΒΆ
Lock locks rw for writing. If the lock is already locked for reading or writing, then Lock blocks until the lock is available.
func (*SMutex128) RLock ΒΆ
RLock locks rw for reading. It should not be used for recursive read locking; a blocked Lock call excludes new readers from acquiring the lock.
Click to show internal directories.
Click to hide internal directories.