Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tailscale/tailscale
/ Go
Method
Go
util/goroutines/tracker.go:22–26 ·
view source on GitHub ↗
(f func())
Source
from the content-addressed store, hash-verified
20
}
21
22
func
(t *Tracker) Go(f
func
()) {
23
t.started.Add(1)
24
t.running.Add(1)
25
go
t.goAndDecr(f)
26
}
27
28
func
(t *Tracker) goAndDecr(f
func
()) {
29
defer
t.decr()
Callers
15
TestDialTCP
Function · 0.80
TestDialUDP
Function · 0.80
close
Method · 0.80
TestMapRoutineStateUpdateUserProfilesConcurrentCancelMapCtx
Function · 0.80
TestDeferredInit
Function · 0.80
TestDeferredErr
Function · 0.80
TestDeferAfterDo
Function · 0.80
Start
Method · 0.80
TestEmbedNodeInfo
Function · 0.80
TestUpdateRace
Function · 0.80
RunAllHandler
Method · 0.80
runDerpProbeQueuingDelayContinously
Function · 0.80
Calls
2
goAndDecr
Method · 0.95
Add
Method · 0.65
Tested by
15
TestDialTCP
Function · 0.64
TestDialUDP
Function · 0.64
TestMapRoutineStateUpdateUserProfilesConcurrentCancelMapCtx
Function · 0.64
TestDeferredInit
Function · 0.64
TestDeferredErr
Function · 0.64
TestDeferAfterDo
Function · 0.64
TestEmbedNodeInfo
Function · 0.64
TestUpdateRace
Function · 0.64
TestMutexValue
Function · 0.64
TestMap
Function · 0.64
TestSSHRecordingCancelsSessionsOnUploadFailure
Function · 0.64
TestMultipleRecorders
Function · 0.64