parallel

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeErrorChannels

func MergeErrorChannels(inputChannels []chan error) <-chan error

Types

type Pool added in v1.1.0

type Pool struct {
	// contains filtered or unexported fields
}

func NewPool added in v1.1.0

func NewPool(poolSize int, taskQueueSize int) *Pool

taskQueueSize needs to be bigger than poolSize if you want to saturate the pool

func (*Pool) Release added in v1.1.0

func (pool *Pool) Release()

func (*Pool) Submit added in v1.1.0

func (pool *Pool) Submit(task func())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL