semaphore

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 7 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 ...sdkmpb.ContainerOption) Semaphore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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