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.