MCPcopy
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
266func newMu(c *Conn) *mu {
267 return &mu{
268 c: c,
269 ch: make(chan struct{}, 1),
270 }
271}
272
273func (m *mu) forceLock() {
274 m.ch <- struct{}{}

Callers 3

newConnFunction · 0.70
newMsgWriterFunction · 0.70
NetConnFunction · 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…