Lines Matching defs:WorkQueue
17 type WorkQueue struct { struct
18 mu sync.RWMutex
19 triageCandidate []*WorkTriage
20 candidate []*WorkCandidate
21 triage []*WorkTriage
22 smash []*WorkSmash
24 procs int
25 needCandidates chan struct{}
71 func (wq *WorkQueue) enqueue(item interface{}) {
90 func (wq *WorkQueue) dequeue() (item interface{}) {
127 func (wq *WorkQueue) wantCandidates() bool {