Documentation ¶
Overview ¶
Package thumb explores three common concurrency patterns for executing all the iterations of a loop in parallel. Adapted from ch. 8.5 of gopl.io.
Topics: concurrency, loop, design Level: intermediate
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Nail3 ¶
func Nail3(filenames []string)
Nail3 makes thumbnails of the specified files in parallel.
func Nail5 ¶
Nail5 makes thumbnails of the specified files in parallel. It returns the generated file names in an arbitrary order, or an error if any step failed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.