Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/egonelbre/exp
/ SetReaderThreshold
Method
SetReaderThreshold
sync2/biasedmutex.go:43–43 ·
view source on GitHub ↗
(x int)
Source
from the content-addressed store, hash-verified
41
}
42
43
func
(m *BiasedMutex) SetReaderThreshold(x int) { m.readerThreshold = int32(x) }
44
func
(m *BiasedMutex) SetWriterThreshold(x int) { m.writerThreshold = int32(x) }
45
46
func
(m *BiasedMutex) RLock() {
Callers
1
TestBiasedMutexProgress
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestBiasedMutexProgress
Function · 0.76