package
Version:
v1.8.1
Opens a new window with list of versions in this module.
Published: Nov 23, 2018
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.