Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWP ¶
func NewWP(nWorkers int) *WorkerPool
func (*WorkerPool) Do ¶
func (wp *WorkerPool) Do(job func())
func (*WorkerPool) Run ¶
func (wp *WorkerPool) Run()
func (*WorkerPool) Stop ¶
func (wp *WorkerPool) Stop()
Click to show internal directories.
Click to hide internal directories.