aosvs

package
v0.0.0-...-b5de531 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Rfcf = 1 << 7 // 1B0             // CLI FORMAT
	Rfwa = 1 << 5 // 1B2             // WARNING (SEVERITY=1)
	Rfer = 2 << 5 // 2B2             // ERROR   (SEVERITY=2)
	Rfab = 3 << 5 // 3B2             // ABORT   (SEVERITY=3)
	Rfec = 1 << 4 // 1B3             // ERROR CODE FLAGIF SET, AC0 CONTAINS ERROR CODE
)

FLAGS FOR RETURN TO CLI (return)

Variables

View Source
var (
	PerProcessData = map[int]PerProcessDataT{}
)

Functions

func CreateProcess

func CreateProcess(args []string, vRoot string, prName string, ring int, con net.Conn, agentChan chan AgentReqT, debugLog bool) (err error)

CreateProcess creates, but does not start, an emulated AOS/VS Process

func StartAgent

func StartAgent(conn net.Conn) chan AgentReqT

StartAgent fires of the pseudo-agent Goroutine and returns its msg channel

func TaskRunner

func TaskRunner(PID, TID dg.WordT, conn net.Conn)

TaskRunner is a Goroutine for running a single AOS/VS task

Types

type AgentReqT

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

AgentReqT is the type of messages passed to and from the pseudo-agent

type PerProcessDataT

type PerProcessDataT struct {
	ActiveTasksWg *sync.WaitGroup
	// contains filtered or unexported fields
}

type ProcessT

type ProcessT struct {
	PID dg.WordT
	// contains filtered or unexported fields
}

ProcessT represents an AOS/VS Process which will contain one or more Tasks

Jump to

Keyboard shortcuts

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