MCPcopy
hub / github.com/dropbox/godropbox / newWait

Function newWait

sync2/boundedrwlock.go:183–185  ·  view source on GitHub ↗
(writer bool)

Source from the content-addressed store, hash-verified

181}
182
183func newWait(writer bool) *rwwait {
184 return &rwwait{writer, make(chan bool, 1), 1}
185}
186
187// Wait for a signal on the waiter, with the guarantee that both goroutines
188// will agree on whether or not the signal was delivered.

Callers 2

RLockMethod · 0.85
WLockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected