MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / Add

Method Add

lib/sync/wait/wait.go:14–16  ·  view source on GitHub ↗

NewWait returns a new Wait.

(delta int)

Source from the content-addressed store, hash-verified

12
13// NewWait returns a new Wait.
14func (w *Wait) Add(delta int) {
15 w.wg.Add(delta)
16}
17
18// Done decrements the WaitGroup counter by one.
19func (w *Wait) Done() {

Callers 12

ListenAndServeFunction · 0.80
HandleMethod · 0.80
ListenSlaveMethod · 0.80
TestDB_ConcurrentPutFunction · 0.80
setSetToDBMethod · 0.80
HExpireMethod · 0.80
encodeStringValueFunction · 0.80
encodeListMethod · 0.80

Calls

no outgoing calls