MCPcopy
hub / github.com/pingcap/tidb / WorkerPool

Struct WorkerPool

pkg/util/worker_pool.go:24–28  ·  view source on GitHub ↗

WorkerPool contains a pool of workers.

Source from the content-addressed store, hash-verified

22
23// WorkerPool contains a pool of workers.
24type WorkerPool struct {
25 limit uint
26 workers chan *Worker
27 name string
28}
29
30// Worker identified by ID.
31type Worker struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected