MCPcopy 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
273func (m *mu) forceLock() {
274 m.ch <- struct{}{}
275}
276
277func (m *mu) tryLock() bool {
278 select {

Callers 4

closeMethod · 0.45
closeMethod · 0.45
WriteMethod · 0.45
ReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected