Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/websocket
/ newMu
Function
newMu
conn.go:266–271 ·
view source on GitHub ↗
(c *Conn)
Source
from the content-addressed store, hash-verified
264
}
265
266
func
newMu(c *Conn) *mu {
267
return
&mu{
268
c: c,
269
ch: make(
chan
struct
{}, 1),
270
}
271
}
272
273
func
(m *mu) forceLock() {
274
m.ch <-
struct
{}{}
Callers
3
newConn
Function · 0.70
newMsgWriter
Function · 0.70
NetConn
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…