thread

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoutinePool

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

func CreateRoutinePool

func CreateRoutinePool(size int, pf func(para interface{}), cf func(para interface{})) *RoutinePool

func (*RoutinePool) Invoke

func (this *RoutinePool) Invoke(para interface{})

func (*RoutinePool) Release

func (this *RoutinePool) Release()

func (*RoutinePool) Running

func (this *RoutinePool) Running() int

func (*RoutinePool) Wait

func (this *RoutinePool) Wait(para interface{})

Jump to

Keyboard shortcuts

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