diff --git a/pool.go b/pool.go index 03f88c0..96873cd 100644 --- a/pool.go +++ b/pool.go @@ -182,7 +182,6 @@ func (p *Pool) decrRunning() { atomic.AddInt32(&p.running, -1) } - // getWorker returns a available worker to run the tasks. func (p *Pool) getWorker() *Worker { var w *Worker diff --git a/pool_func.go b/pool_func.go index 4b59bc1..ee8c9c5 100644 --- a/pool_func.go +++ b/pool_func.go @@ -187,7 +187,6 @@ func (p *PoolWithFunc) decrRunning() { atomic.AddInt32(&p.running, -1) } - // getWorker returns a available worker to run the tasks. func (p *PoolWithFunc) getWorker() *WorkerWithFunc { var w *WorkerWithFunc