waitgroup

package
v0.0.0-...-3f344d0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const W_Add = "W_Add"
View Source
const W_Done = "W_Done"
View Source
const W_Wait = "W_Wait"

Variables

This section is empty.

Functions

func Scan_WG_inst_return_value_comment

func Scan_WG_inst_return_value_comment(inst ssa.Instruction) (v ssa.Value, comment string)

Types

type Goroutine

type Goroutine struct {
	Fn_str         string
	Fn_may_nil     *ssa.Function
	Parent_str     string
	Parent_may_nil *ssa.Function

	Creation_site ssa.Instruction
}

type WG

type WG struct {
	Name  string
	Make  WG_Make
	Adds  []WG_Add
	Dones []WG_Done
	Waits []WG_Wait
	Child Goroutine

	Status string
}

type WG_Add

type WG_Add struct {
	Name          string
	Inst          ssa.Instruction
	Is_size_const bool
	Size          int

	Parent *WG
}

type WG_Done

type WG_Done struct {
	Name string
	Inst ssa.Instruction

	Parent *WG
}

type WG_Make

type WG_Make struct {
	Name  string
	Inst  ssa.Instruction
	Value ssa.Value

	Parent *WG
}

type WG_Wait

type WG_Wait struct {
	Name string
	Inst ssa.Instruction

	Parent *WG
}

Jump to

Keyboard shortcuts

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