synci

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitGroupState

func WaitGroupState(wg *sync.WaitGroup) (counter int32, wcounter uint32)

WaitGroupState返回 sync.WaitGroup 的状态,

func WaitGroupStopWait

func WaitGroupStopWait(wg *sync.WaitGroup)

Types

type WaitGroup

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

运行计数,等待计数,信号计数

func (*WaitGroup) State added in v1.1.0

func (wg *WaitGroup) State() (counter int32, wcounter uint32)

Jump to

Keyboard shortcuts

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