Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
99
func
(w *waitGroupWithMutex) Add(delta int) {
100
w.mu.Lock()
101
defer
w.mu.Unlock()
102
w.wg.Add(delta)
103
}
104
105
func
(w *waitGroupWithMutex) Done() {
106
w.wg.Done()
Callers
15
start
Method · 0.95
stop
Method · 0.80
daylightSavingsTimeRunAfterTransitionTime
Function · 0.80
next
Method · 0.80
next
Method · 0.80
TestSchedulerMonitor_ThreadSafety
Function · 0.80
TestSchedulerMonitor_IntegrationWithJobs
Function · 0.80
ExampleOneTimeJob
Function · 0.80
ExampleWithClock
Function · 0.80
Next
Method · 0.80
ExampleWithStartDateTimePast
Function · 0.80
TestScheduler_LongRunningJobs
Function · 0.80
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
15
TestSchedulerMonitor_ThreadSafety
Function · 0.64
TestSchedulerMonitor_IntegrationWithJobs
Function · 0.64
ExampleOneTimeJob
Function · 0.64
ExampleWithClock
Function · 0.64
Next
Method · 0.64
ExampleWithStartDateTimePast
Function · 0.64
TestScheduler_LongRunningJobs
Function · 0.64
TestScheduler_NewJobErrors
Function · 0.64
TestScheduler_OneTimeJob_DoesNotCleanupNext
Function · 0.64
TestScheduler_WithDistributed
Function · 0.64
TestScheduler_JobsWaitingInQueue
Function · 0.64
TestScheduler_RunJobNow
Function · 0.64