Running returns the number of workers currently running.
()
| 337 | |
| 338 | // Running returns the number of workers currently running. |
| 339 | func (p *poolCommon) Running() int { |
| 340 | return int(atomic.LoadInt32(&p.running)) |
| 341 | } |
| 342 | |
| 343 | // Free returns the number of available workers, -1 indicates this pool is unlimited. |
| 344 | func (p *poolCommon) Free() int { |
no outgoing calls