package
Version:
v1.10.1
Opens a new window with list of versions in this module.
Published: Feb 21, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Pool is a simple worker pool
New creates a new pool with the given number of workers
func (p *Pool) Execute(job func())
Execute enqueues the job to be executed by one of the workers in the pool
Stop halts all the workers
Source Files
¶
Click to show internal directories.
Click to hide internal directories.