Lines Matching refs:worker
47 w *worker
56 type worker struct { struct
86 func newWorker(wm *workerManager) *worker {
87 w := &worker{
96 func (w *worker) Run() { argument
109 func (w *worker) PostJob(j *job) { argument
113 func (w *worker) Wait() { argument
221 freeWorkers []*worker
222 busyWorkers map[*worker]bool
239 busyWorkers: make(map[*worker]bool),
242 wm.busyWorkers = make(map[*worker]bool)
349 func (wm *workerManager) ReportResult(w *worker, j *job, err error) {