HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulepooled-io-0.0.2.5Haskell98

Control.Concurrent.PooledIO.Independent

  • 4 values
  • Packagepooled-io-0.0.2.5
  • Exports4
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceIndependent.hs
valuerun :: [IO ()] -> IO ()
#

Execute all actions parallelly but run at most numCapabilities threads at once. Stop when all actions are finished. If a thread throws an exception this terminates only the throwing thread.

valuerunUnlimited :: [IO ()] -> IO ()
#

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

valuerunException :: Maybe Int -> [IO ()] -> IO ()
#

If a thread ends with an exception, then terminate all threads and forward that exception. runException Nothing chooses to use all capabilities, whereas runException (Just n) chooses n capabilities.