golang.org/x/pkgsite/internal/queue.InMemory.sem (field)
7 uses
golang.org/x/pkgsite/internal/queue (current package)
queue.go#L224: sem chan struct{}
queue.go#L236: sem: make(chan struct{}, workerCount),
queue.go#L244: case q.sem <- struct{}{}:
queue.go#L250: defer func() { <-q.sem }()
queue.go#L252: log.Infof(ctx, "Fetch requested: %q %q (workerCount = %d)", v.modulePath, v.version, cap(q.sem))
queue.go#L277: for i := 0; i < cap(q.sem); i++ {
queue.go#L281: case q.sem <- struct{}{}:
![]() |
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. |