psync

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceGroup

type TraceGroup struct {
	parl.WaitGroup
	// contains filtered or unexported fields
}

parl.TraceGroup is an observable sync.Waitgroup.

TraceGroup cannot be in parl because WaitAction imports goid

func (*TraceGroup) Add

func (wg *TraceGroup) Add(delta int)

func (*TraceGroup) Done

func (wg *TraceGroup) Done()

func (*TraceGroup) DoneBool added in v0.4.18

func (wg *TraceGroup) DoneBool() (isZero bool)

func (*TraceGroup) String

func (wg *TraceGroup) String() (s string)

type WaitAction

type WaitAction struct {
	ID     parl.ThreadID
	Loc    pruntime.CodeLocation
	IsDone bool
	Delta  int
}

func NewWaitAction

func NewWaitAction(skipFrames int, delta int, isDone bool) (waitAction *WaitAction)

func (*WaitAction) String

func (wa *WaitAction) String() (s string)

Jump to

Keyboard shortcuts

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