gpool

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	Queue chan int
	Wg    *sync.WaitGroup
}

func New

func New(size int) *Pool

func (*Pool) Add

func (p *Pool) Add(delta int)

func (*Pool) Done

func (p *Pool) Done()

func (*Pool) Wait

func (p *Pool) Wait()

Jump to

Keyboard shortcuts

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