MCPcopy Create free account
hub / github.com/cloudwego/netpoll / status

Method status

connection_lock.go:69–71  ·  view source on GitHub ↗
(k key)

Source from the content-addressed store, hash-verified

67}
68
69func (l *locker) status(k key) int32 {
70 return atomic.LoadInt32(&l.keychain[k])
71}
72
73func (l *locker) force(k key, v int32) {
74 atomic.StoreInt32(&l.keychain[k], v)

Callers 3

onProcessMethod · 0.80
waitReadMethod · 0.80
waitReadWithTimeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected