concurrent

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionPool

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

func NewPool

func NewPool(limit int) *ExecutionPool

func (*ExecutionPool) AwaitAll

func (p *ExecutionPool) AwaitAll() int

func (*ExecutionPool) Execute

func (p *ExecutionPool) Execute(fn func())

type Semaphore

type Semaphore chan bool

func NewSemaphore

func NewSemaphore(limit int) Semaphore

func (Semaphore) Acquire

func (s Semaphore) Acquire()

func (Semaphore) Release

func (s Semaphore) Release()

Jump to

Keyboard shortcuts

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