sync.WaitGroup.Add (method)
52 uses
sync (current package)
waitgroup.go#L53: func (wg *WaitGroup) Add(delta int) {
waitgroup.go#L99: wg.Add(-1)
cloud.google.com/go/logging
logging.go#L456: c.loggers.Add(1)
contrib.go.opencensus.io/exporter/stackdriver
metrics_batcher.go#L62: wg.Add(numWorkers)
contrib.go.opencensus.io/exporter/stackdriver/monitoredresource
monitored_resources.go#L49: wg.Add(2)
encoding/json
encode.go#L394: wg.Add(1)
github.com/aws/aws-sdk-go/internal/sync/singleflight
singleflight.go#L63: c.wg.Add(1)
singleflight.go#L86: c.wg.Add(1)
github.com/evanw/esbuild/internal/bundler
bundler.go#L1116: injectWaitGroup.Add(1)
bundler.go#L1182: entryPointWaitGroup.Add(len(entryPoints))
bundler.go#L1536: waitGroup.Add(1)
bundler.go#L1640: waitGroup.Add(1)
linker.go#L693: chunkOrdering[chunkIndex].dependencies.Add(len(chunk.crossChunkImports))
linker.go#L719: resultsWaitGroup.Add(len(chunks))
linker.go#L812: waitGroup.Add(len(chunks))
linker.go#L1298: waitGroup.Add(1)
linker.go#L3670: waitGroup.Add(1)
linker.go#L4152: waitGroup.Add(1)
github.com/evanw/esbuild/internal/renamer
renamer.go#L413: waitGroup.Add(len(nestedScopes))
github.com/evanw/esbuild/pkg/api
api_impl.go#L793: waitGroup.Add(len(results))
serve_other.go#L48: build.waitGroup.Add(1)
github.com/go-git/go-git/v5/plumbing/format/packfile
delta_selector.go#L68: wg.Add(1)
github.com/go-redis/redis/v8
cluster.go#L858: wg.Add(1)
cluster.go#L896: wg.Add(1)
cluster.go#L945: wg.Add(1)
cluster.go#L949: wg.Add(1)
cluster.go#L1105: wg.Add(1)
cluster.go#L1292: wg.Add(1)
ring.go#L528: wg.Add(1)
ring.go#L674: wg.Add(1)
github.com/prometheus/client_golang/prometheus
registry.go#L437: wg.Add(goroutineBudget)
golang.org/x/crypto/ssh/agent
forward.go#L88: wg.Add(2)
golang.org/x/pkgsite/internal/frontend
fetch.go#L182: wg.Add(1)
golang.org/x/pkgsite/internal/worker
fetch.go#L202: wg.Add(1)
fetch.go#L216: wg.Add(1)
fetch.go#L224: wg.Add(1)
golang.org/x/sync/errgroup
errgroup.go#L52: g.wg.Add(1)
google.golang.org/api/support/bundler
bundler.go#L270: b.curFlush.Add(1)
google.golang.org/grpc
server.go#L691: s.serveWG.Add(1)
server.go#L760: s.serveWG.Add(1)
server.go#L844: wg.Add(1)
google.golang.org/grpc/balancer/grpclb
grpclb_remote_balancer.go#L256: ccw.wg.Add(1)
grpclb_remote_balancer.go#L353: ccw.wg.Add(1)
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L144: d.wg.Add(1)
internal/singleflight
singleflight.go#L59: c.wg.Add(1)
singleflight.go#L84: c.wg.Add(1)
net
dnsclient_unix.go#L592: dnsWaitGroup.Add(1)
dnsclient_unix.go#L599: dnsWaitGroup.Add(1)
lookup.go#L290: dnsWaitGroup.Add(1)
net/http/httptest
server.go#L305: s.wg.Add(1)
server.go#L321: s.wg.Add(1)
testing
benchmark.go#L770: wg.Add(numProcs)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |