Searched refs:activeWorkers (Results 1 – 2 of 2) sorted by relevance
21 const activeWorkers = new Map<string, Worker>(); constant34 if (activeWorkers.has(id)) {39 activeWorkers.set(id, activeWorker);44 if (!activeWorkers.has(id)) {47 activeWorkers.get(id)!.terminate();48 activeWorkers.delete(id);
83 activeWorkers uint32 member126 atomic.AddUint32(&p.activeWorkers, 1)142 for i := uint32(0); i < p.activeWorkers; i++ {152 return p.activeWorkers > 0180 atomic.AddUint32(&p.activeWorkers, ^uint32(0))