Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/coder/websocket
/ forceLock
Method
forceLock
conn.go:273–275 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
271
}
272
273
func
(m *mu) forceLock() {
274
m.ch <-
struct
{}{}
275
}
276
277
func
(m *mu) tryLock() bool {
278
select
{
Callers
4
close
Method · 0.45
close
Method · 0.45
Write
Method · 0.45
Read
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected