Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
func
(l *locker) status(k key) int32 {
70
return
atomic.LoadInt32(&l.keychain[k])
71
}
72
73
func
(l *locker) force(k key, v int32) {
74
atomic.StoreInt32(&l.keychain[k], v)
Callers
3
onProcess
Method · 0.80
waitRead
Method · 0.80
waitReadWithTimeout
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected