multiprocessing

package
v0.0.0-...-53a20a4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStream

type DataStream struct {
	Done bool
	Data []byte
}

type Process

type Process struct {
	Cmd    string
	Node   string
	Uid    string
	Memory uint
	Done   *sync.WaitGroup
}

func NewProcess

func NewProcess(
	cmd string,
	memory uint,
) (*Process, bool)

func (*Process) Run

func (p *Process) Run(ch chan DataStream, chOutput chan DataStream)

Jump to

Keyboard shortcuts

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