Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parallelize ¶
func Parallelize(workers, pieces int, doWorkPiece DoWorkPieceFunc)
Parallelize is a very simple framework that allow for parallelizing N independent pieces of work.
Types ¶
type DoWorkPieceFunc ¶
type DoWorkPieceFunc func(piece int)
Click to show internal directories.
Click to hide internal directories.