taskpool

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOTaskPool added in v1.4.0

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

IOTaskPool .

func NewIO added in v1.4.0

func NewIO(concurrent, queueSize, bufSize int, v ...interface{}) *IOTaskPool

NewIO creates and returns a IOTaskPool.

func (*IOTaskPool) Call added in v1.6.1

func (tp *IOTaskPool) Call(f func(*[]byte))

Call .

func (*IOTaskPool) Go added in v1.4.0

func (tp *IOTaskPool) Go(f func(*[]byte))

Go .

func (*IOTaskPool) Stop added in v1.4.0

func (tp *IOTaskPool) Stop()

Stop .

type TaskPool

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

TaskPool .

func New

func New(maxConcurrent int, chQqueueSize int, v ...interface{}) *TaskPool

New creates and returns a TaskPool.

func (*TaskPool) Call added in v1.6.1

func (tp *TaskPool) Call(f func())

Call .

func (*TaskPool) Go

func (tp *TaskPool) Go(f func())

Go .

func (*TaskPool) Stop

func (tp *TaskPool) Stop()

Stop .

Jump to

Keyboard shortcuts

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