gpool

package
v0.0.0-...-f1b2c4c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

func (*Executor) Start

func (e *Executor) Start()

type Pool

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

func NewGPool

func NewGPool(maxInvoke, queueCap int) *Pool

func (*Pool) AddTask

func (p *Pool) AddTask(t func())

func (*Pool) Release

func (p *Pool) Release()

func (*Pool) Start

func (p *Pool) Start()

Jump to

Keyboard shortcuts

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