threading

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package threading provides a simple parallel run function. this will be moved elsewhere.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParallelRun

func ParallelRun(fun func(st, ed int), total int, nThreads int)

Maps the given function across the [0, total) range of items, using nThreads goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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