concurrent

package
v0.0.0-...-9faecf3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTimeoutTask

func ExecuteTimeoutTask(f func() interface{}, duration time.Duration) (interface{}, error)

Types

type CountDownLatch

type CountDownLatch interface {
	Cancel()
	WaitTimeout(duration time.Duration) bool
	Wait()
	Done()
	IsAlive() bool
}

func NewCountDownLatch

func NewCountDownLatch(num int) CountDownLatch

Jump to

Keyboard shortcuts

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