yarr-1.3.1: Yet another array library

Safe HaskellNone

Data.Yarr.Utils.Parallel

Synopsis

Documentation

parallelSource

Arguments

:: Int

Number of threads to parallelize work on

-> (Int -> IO a)

Per-thread work producer, passed thread number [0..threads-1]

-> IO [a]

Results

parallel_Source

Arguments

:: Int

Number of threads to parallelize work on

-> (Int -> IO a)

Per-thread work producer, passed thread number [0..threads-1]

-> IO () 

Version of parallel which discards results.