MCPcopy
hub / github.com/go-co-op/gocron / Add

Method Add

util.go:99–103  ·  view source on GitHub ↗
(delta int)

Source from the content-addressed store, hash-verified

97}
98
99func (w *waitGroupWithMutex) Add(delta int) {
100 w.mu.Lock()
101 defer w.mu.Unlock()
102 w.wg.Add(delta)
103}
104
105func (w *waitGroupWithMutex) Done() {
106 w.wg.Done()

Callers 15

startMethod · 0.95
stopMethod · 0.80
nextMethod · 0.80
nextMethod · 0.80
ExampleOneTimeJobFunction · 0.80
ExampleWithClockFunction · 0.80
NextMethod · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65