package
Version:
v0.0.0-...-1e678e3
Opens a new window with list of versions in this module.
Published: Sep 16, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Work manages a pool of go routines to perform work
Pool provides a pool of goroutines that can execute any Worker tasks
New creates a new work pool
Run submits work to the pool
func (p *Pool) Shutdown()
Shutdown waits for all the goroutines to shutdown
type Worker interface {
Task()
}
Worker interface is implemented by types that want to use the work pool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.