package
0.10.0
Repository: https://github.com/preston-wagner/unicycle.git
Documentation: pkg.go.dev

# README

multithread

This submodule contains functions to simplify common multithreading applications.

Highlights:

multithread.AwaitConcurrent

AwaitConcurrent simplifies the common task of waiting until several unrelated tasks on separate threads have concluded.

AwaitConcurrent(func(){
  // perform task 1
}, func(){
  // perform task 2
}, func(){
  // perform task 3
})

multithread.MappingMultithread

Many of the functions provided by this submodule are parallelized versions of functions provided by other submodules. In this case, multithread.MappingMultithread acts like slices_ext.Mapping, except that all mapping functions are run in parallel instead of serially.