pooled-io-0.0.0.1: Run jobs on a limited number of threads and support data dependencies

Safe HaskellSafe

Control.Concurrent.PooledIO.Independent

Synopsis

Documentation

run :: [IO ()] -> IO ()Source

Execute all actions parallelly but run at most numCapabilities threads at once. Stop when all actions are finished.

runLimited :: Int -> [IO ()] -> IO ()Source

runUnlimited :: [IO ()] -> IO ()Source

Execute all actions parallelly without a bound an the number of threads. Stop when all actions are finished.