Documentation ¶
Overview ¶
Package pool contains a generic worker pool
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a generic worker pool using t.PoolData as the datatype
func (*Pool) Start ¶
func (p *Pool) Start(numWorkers int, callback PoolCallback)
Start starts numWorkers number of workers on the pool, each running callback
Click to show internal directories.
Click to hide internal directories.