semaphore

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxSimultaneous added in v1.13.0

func MaxSimultaneous() int

func SetSimultaneous added in v1.13.0

func SetSimultaneous(n int) int64

Types

type Semaphore added in v1.13.0

type Semaphore interface {
	context.Context
	semtps.Sem
	semtps.Progress
}

func New added in v1.13.0

func New(ctx context.Context, nbrSimultaneous int, progress bool, opt ...mpb.ContainerOption) Semaphore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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