Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
How to control parallelism, e.g. a fixed number of jobs or by using a system semaphore.
type ParStrat = ParStratX String Source #
Used by Cabal to indicate that we want to use this specific semaphore (created by cabal-install)
type ParStratInstall = ParStratX Int Source #
Used by cabal-install to say we want to create a semaphore with N slots.
isParallelBuild :: ParStratX n -> Bool Source #
Determine if the parallelism strategy enables parallel builds.