goroutine

package
v0.0.0-...-0871eb3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGOMAXPROCS

func GetGOMAXPROCS() int

GetGOMAXPROCS is to get number of core

func Semaphore

func Semaphore(paramFunc func(int), pool int, cnt int, wg *sync.WaitGroup)

Semaphore is management of concurrency It's to execute simultaneously specific func at designated number

func Semaphore2

func Semaphore2(paramFunc func(int, interface{}), pool int, data []interface{}, wg *sync.WaitGroup)

Semaphore2 is management of concurrency It's to execute simultaneously specific func at number of slice data

Types

This section is empty.

Jump to

Keyboard shortcuts

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