synchronization

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

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

func NewPoint

func NewPoint(count int) *Point

func (*Point) Done

func (p *Point) Done()

Done should be called only from testing goroutine

func (*Point) Synchronize

func (p *Point) Synchronize()

func (*Point) Wait

func (p *Point) Wait() <-chan struct{}

Wait should be called only from testing goroutine

func (*Point) WaitTimeout

func (p *Point) WaitTimeout(t *testing.T, tm time.Duration)

WaitTimeout should be called only from testing goroutine

func (*Point) WakeUp

func (p *Point) WakeUp()

WakeUp should be called only from testing goroutine

Jump to

Keyboard shortcuts

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