Documentation ¶ Index ¶ func Run(dataSize int, fn func(partStart, partEnd int)) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(dataSize int, fn func(partStart, partEnd int)) parallel starts parallel image processing based on the current GOMAXPROCS value. If GOMAXPROCS = 1 it uses no parallelization. If GOMAXPROCS > 1 it spawns N=GOMAXPROCS workers in separate goroutines. Types ¶ This section is empty. Source Files ¶ View all Source files parallel.go Click to show internal directories. Click to hide internal directories.