package
Version:
v2.0.0-...-21b5c0c
Opens a new window with list of versions in this module.
Published: Nov 25, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Close waits all jobs to finish and
closes the semaphore of global ParallelManager.
func Init(workercount int)
Init tries to increase the soft limit of open files and
creates new global ParallelManager.
Run runs global ParallelManager.
Manager is a structure for running tasks in parallel.
New creates a new parallel.Manager.
Close waits all tasks to finish.
Run runs the given task while limiting the concurrency.
Task is a function type for parallel manager.
Waiter is a structure for waiting and reading
error messages created by Manager.
NewWaiter creates a new parallel.Waiter.
Err returns read-only error channel.
Wait blocks until the WaitGroup counter is zero
and closes error channel.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.