Searched refs:numWorkers (Results 1 – 4 of 4) sorted by relevance
46 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "Runs the given number of workers when… var299 if *numWorkers == 1 || len(t.args) != 1 {388 tests := make(chan test, *numWorkers)389 results := make(chan result, *numWorkers)391 for i := 0; i < *numWorkers; i++ {
410 numWorkers := runtime.NumCPU()412 numWorkers = 1415 for i := 0; i < numWorkers; i++ {
150 func StartWorkerPool(numWorkers int, workerFunc func()) *WorkerPool {152 for i := 0; i < numWorkers; i++ {
62 …numWorkers = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa… var15158 statusChan := make(chan statusMsg, *numWorkers)15159 testChan := make(chan *testCase, *numWorkers)15177 for i := 0; i < *numWorkers; i++ {