parallel

package
v0.0.0-...-8011f81 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceSemaphore

type ResourceSemaphore struct {
	Limit int
}

func NewResourceSemaphore

func NewResourceSemaphore(limit int) *ResourceSemaphore

func NewUnInitialisedResourceSemaphore

func NewUnInitialisedResourceSemaphore(limit int) *ResourceSemaphore

func (*ResourceSemaphore) AcquireResource

func (r *ResourceSemaphore) AcquireResource(size int)

func (*ResourceSemaphore) ReleaseResource

func (r *ResourceSemaphore) ReleaseResource(size int)

Jump to

Keyboard shortcuts

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