seqctl

package
v0.0.0-...-2e81f5e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParam = errors.New("invalid parameters")
)

error

Functions

This section is empty.

Types

type SeqCtl

type SeqCtl interface {
	Req(func())
	String() string
	IsEmpty() bool
}

SeqCtl : sequence control to handle resource concurrently and safely

func New

func New(info string, threads int) SeqCtl

New : create a new SeqCtl

Jump to

Keyboard shortcuts

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